compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-05-28 15:05:05 +00:00
parent 597fadcef5
commit 7ac05a91ab
2 changed files with 7 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ bool wxConfigBase::Read(const wxString& key, double* val) const
wxString str; wxString str;
if ( Read(key, &str) ) if ( Read(key, &str) )
{ {
return wxSscanf(str, _T("%g"), val) == 1; return str.ToDouble(val);
} }
return FALSE; return FALSE;

View File

@@ -19,6 +19,11 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
#include "wx/dc.h"
#endif // WX_PRECOMP
#include "wx/generic/gridctrl.h" #include "wx/generic/gridctrl.h"
#include "wx/tokenzr.h" #include "wx/tokenzr.h"