mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlLib: EditNumber fixed (thanks SenderGhost!) #491
git-svn-id: svn://ultimatepp.org/upp/trunk@6190 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5bc9a2cc67
commit
78ae0711ed
4 changed files with 6 additions and 6 deletions
|
|
@ -103,8 +103,11 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(COMPILER_MINGW) && !defined(WINVER)
|
||||
#define WINVER 0xFFFF
|
||||
#if defined(COMPILER_MINGW)
|
||||
#if !defined(WINVER)
|
||||
#define WINVER 0xFFFF
|
||||
#endif
|
||||
#include <float.h>
|
||||
#endif
|
||||
|
||||
#define DIR_SEP '\\'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#include "Core.h"
|
||||
//#BLITZ_APPROVE
|
||||
#include <float.h>
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ bool EditNumber(int& n, const char *title, const char *label, int min, int max,
|
|||
return false;
|
||||
}
|
||||
|
||||
bool EditNumber(int& n, const char *title, const char *label, double min, double max, bool notnull)
|
||||
bool EditNumber(double& n, const char *title, const char *label, double min, double max, bool notnull)
|
||||
{
|
||||
WithEditDoubleLayout<TopWindow> dlg;
|
||||
CtrlLayoutOKCancel(dlg, title);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
#include "Geom.h"
|
||||
#pragma hdrstop
|
||||
|
||||
#include <float.h>
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#define POLY_TIMING(n) // RTIMING(n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue