X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7147aa4780896f026ac4448686439d575e6c9d8a..d8fd7acb8b877599b410e07a4c26dde92a676a82:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index 151ca4037a..844cfa9f81 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -955,6 +955,14 @@ public: // insert an unsigned long into string wxString& operator<<(unsigned long ul) { return (*this) << Format(_T("%lu"), ul); } +#if defined wxLongLong_t && !defined wxLongLongIsLong + // insert a long long if they exist and aren't longs + wxString& operator<<(wxLongLong_t ll) + { return (*this) << Format(_T("%") wxLongLongFmtSpec _T("d"), ll); } + // insert an unsigned long long + wxString& operator<<(wxULongLong_t ull) + { return (*this) << Format(_T("%") wxLongLongFmtSpec _T("u"), ull); } +#endif // insert a float into string wxString& operator<<(float f) { return (*this) << Format(_T("%f"), f); }