Remove unnecessary c_str() from wx var arg functions arguments

Using c_str() for arguments to wxString::Printf(), Format() and
wxLogXXX() is useless since wx 2.9 days, so simply remove them.

No real changes, this is just a (long due) cleanup.
This commit is contained in:
Vadim Zeitlin
2021-07-04 14:28:55 +01:00
parent 723265f9ef
commit f31a745909
50 changed files with 237 additions and 243 deletions

View File

@@ -203,7 +203,7 @@ void wxMessageOutputLog::Output(const wxString& str)
out.Replace(wxT("\t"), wxT(" "));
wxLogMessage(wxT("%s"), out.c_str());
wxLogMessage(wxT("%s"), out);
}
#endif // wxUSE_BASE