added base parameter to wxString::To[U]Long

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-10-12 20:26:48 +00:00
parent 758bce950b
commit 4eb438cf7c
3 changed files with 26 additions and 14 deletions

View File

@@ -689,9 +689,9 @@ public:
// conversion to numbers: all functions return TRUE only if the whole string
// is a number and put the value of this number into the pointer provided
// convert to a signed integer
bool ToLong(long *val) const;
bool ToLong(long *val, int base = 0) const;
// convert to an unsigned integer
bool ToULong(unsigned long *val) const;
bool ToULong(unsigned long *val, int base = 0) const;
// convert to a double
bool ToDouble(double *val) const;