- // return true only if scan was stopped by the terminating NUL and if the
- // string was not empty to start with and no overflow occurred
- return !*end && (end != start) && (errno != ERANGE);
+bool wxString::ToULongLong(wxULongLong_t *val, int base) const
+{
+#ifdef wxHAS_STRTOLL
+ return wxStringToIntType(c_str(), val, base, wxStrtoull);
+#else
+ // TODO: implement this ourselves
+ wxUnusedVar(val);
+ wxUnusedVar(base);
+ return false;
+#endif