Change wxLongLongFmtSpec to be a non-wide string.
As with other ANSI/Unicode unification changes, we choose to preserve compatibility with the existing code using wxLongLongFmtSpec in ANSI build and require people using it in Unicode build to change their code. Closes #11372. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2071,14 +2071,12 @@ public:
|
||||
// insert a long long if they exist and aren't longs
|
||||
wxString& operator<<(wxLongLong_t ll)
|
||||
{
|
||||
const wxChar *fmt = wxT("%") wxLongLongFmtSpec wxT("d");
|
||||
return (*this) << Format(fmt, ll);
|
||||
return (*this) << Format("%" wxLongLongFmtSpec "d", ll);
|
||||
}
|
||||
// insert an unsigned long long
|
||||
wxString& operator<<(wxULongLong_t ull)
|
||||
{
|
||||
const wxChar *fmt = wxT("%") wxLongLongFmtSpec wxT("u");
|
||||
return (*this) << Format(fmt , ull);
|
||||
return (*this) << Format("%" wxLongLongFmtSpec "u" , ull);
|
||||
}
|
||||
#endif // wxLongLong_t && !wxLongLongIsLong
|
||||
// insert a float into string
|
||||
|
Reference in New Issue
Block a user