Make wxString::ToCXXX() methods always available.
We use these methods inside wxWidgets itself and so want to always have them, even when wxUSE_XLOCALE==0. Provide replacement manual implementations for this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2280,7 +2280,6 @@ public:
|
||||
// convert to a double
|
||||
bool ToDouble(double *val) const;
|
||||
|
||||
#if wxUSE_XLOCALE
|
||||
// conversions to numbers using C locale
|
||||
// convert to a signed integer
|
||||
bool ToCLong(long *val, int base = 10) const;
|
||||
@@ -2288,7 +2287,6 @@ public:
|
||||
bool ToCULong(unsigned long *val, int base = 10) const;
|
||||
// convert to a double
|
||||
bool ToCDouble(double *val) const;
|
||||
#endif
|
||||
|
||||
#ifndef wxNEEDS_WXSTRING_PRINTF_MIXIN
|
||||
// formatted input/output
|
||||
|
Reference in New Issue
Block a user