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:
cxl 2013-07-14 07:38:15 +00:00
parent 5bc9a2cc67
commit 78ae0711ed
4 changed files with 6 additions and 6 deletions

View file

@ -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 '\\'

View file

@ -1,6 +1,5 @@
#include "Core.h"
//#BLITZ_APPROVE
#include <float.h>
NAMESPACE_UPP

View file

@ -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);

View file

@ -1,8 +1,6 @@
#include "Geom.h"
#pragma hdrstop
#include <float.h>
NAMESPACE_UPP
#define POLY_TIMING(n) // RTIMING(n)