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:
@@ -1202,7 +1202,7 @@ wxString wxStripMenuCodes(const wxString& in, int flags)
|
||||
// can't be the last character of the string
|
||||
if ( ++it == in.end() )
|
||||
{
|
||||
wxLogDebug(wxT("Invalid menu string '%s'"), in.c_str());
|
||||
wxLogDebug(wxT("Invalid menu string '%s'"), in);
|
||||
break;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user