moved wxFloat/DoubleToStringStr from src/*/data.cpp to src/common/utils.cpp; took all String <-> Numebr functions inside WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,6 +127,9 @@ WXDLLEXPORT long wxGetCurrentId();
|
||||
// Various conversions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// these functions are deprecated, use wxString methods instead!
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
WXDLLEXPORT_DATA(extern const wxChar*) wxFloatToStringStr;
|
||||
WXDLLEXPORT_DATA(extern const wxChar*) wxDoubleToStringStr;
|
||||
|
||||
@@ -139,6 +142,8 @@ WXDLLEXPORT void StringToLong(const wxChar *s, long *number);
|
||||
WXDLLEXPORT wxChar* IntToString(int number);
|
||||
WXDLLEXPORT wxChar* LongToString(long number);
|
||||
|
||||
#endif // WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
// Convert 2-digit hex number to decimal
|
||||
WXDLLEXPORT int wxHexToDec(const wxString& buf);
|
||||
|
||||
|
Reference in New Issue
Block a user