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:
Vadim Zeitlin
2010-05-31 11:55:41 +00:00
parent 1a39b0131f
commit 105993f7b6
2 changed files with 51 additions and 3 deletions

View File

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