git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10367
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxConfigBase::Read(const wxString& key, double* val) const
{
wxString str;
bool wxConfigBase::Read(const wxString& key, double* val) const
{
wxString str;
- return wxSscanf(str, _T("%g"), val) == 1;
+ return str.ToDouble(val);
+#ifndef WX_PRECOMP
+ #include "wx/textctrl.h"
+ #include "wx/dc.h"
+#endif // WX_PRECOMP
+
#include "wx/generic/gridctrl.h"
#include "wx/tokenzr.h"
#include "wx/generic/gridctrl.h"
#include "wx/tokenzr.h"