git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26285
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// note that wxString::Format() uses wxVsnprintf(), not wxSprintf(), so
// it's safe to implement this one in terms of it
// note that wxString::Format() uses wxVsnprintf(), not wxSprintf(), so
// it's safe to implement this one in terms of it
- wxStrcpy(str, wxString::Format(format, argptr));
+ wxString s(wxString::Format(format, argptr));
+ wxStrcpy(str, s);
}
int wxFprintf( FILE *stream, const wxChar *format, ... )
}
int wxFprintf( FILE *stream, const wxChar *format, ... )