X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fc1adbd94297c3b275031be87cb15dedb422b1f..ce045aed585af0f00b72f1cdba893b47ac2e0e55:/include/wx/string.h diff --git a/include/wx/string.h b/include/wx/string.h index 844cfa9f81..4cd3a70575 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -958,10 +958,16 @@ public: #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); } + { + const wxChar *fmt = _T("%") wxLongLongFmtSpec _T("d"); + return (*this) << Format(fmt, ll); + } // insert an unsigned long long wxString& operator<<(wxULongLong_t ull) - { return (*this) << Format(_T("%") wxLongLongFmtSpec _T("u"), ull); } + { + const wxChar *fmt = _T("%") wxLongLongFmtSpec _T("u"); + return (*this) << Format(fmt , ull); + } #endif // insert a float into string wxString& operator<<(float f)