git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14324 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-    // use the base 10 explicitly because otherwise the string "09" (the
-    // leading zeroes are common in the date specifications) is not parsed
-    // correctly as, according to the standard C rules, it is understood as an
-    // octal number and '9' is not a valid octal digit!
-    return !s.empty() && s.ToULong(number, 10);
+    return !!s && s.ToULong(number);
 }
 
 // scans all alphabetic characters and returns the resulting string
 }
 
 // scans all alphabetic characters and returns the resulting string
 
         // is it a number?
         unsigned long val;
 
         // is it a number?
         unsigned long val;
-        if ( token.ToULong(&val, 10) ) // 10: see comment in GetNumericToken()
+        if ( token.ToULong(&val) )
         {
             // guess what this number is
 
         {
             // guess what this number is