added wxString::ToLongLong() and ToULongLong() (feature request 1290937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user