X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13874b5c7f59b6c695672042fd3b9f283707318f..664f15dc8e8ab0f25199e45569fed7af23bdf844:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index dc60c22a88..fb73ad8757 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -1132,9 +1132,17 @@ public: bool ToLong(long *val, int base = 10) const; // convert to an unsigned integer bool ToULong(unsigned long *val, int base = 10) const; + // convert to wxLongLong +#if defined(wxLongLong_t) + bool ToLongLong(wxLongLong_t *val, int base = 10) const; + // convert to wxULongLong + bool ToULongLong(wxULongLong_t *val, int base = 10) const; +#endif // wxLongLong_t // convert to a double bool ToDouble(double *val) const; + + // formatted input/output // as sprintf(), returns the number of characters written or < 0 on error // (take 'this' into account in attribute parameter count)