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:
@@ -297,11 +297,11 @@ if (in->IsOk())
|
||||
|
||||
// list the contents of the archive
|
||||
while ((entry.reset(arc->GetNextEntry())), entry.get() != NULL)
|
||||
std::wcout << entry->GetName().c_str() << "\n";
|
||||
std::wcout << entry->GetName() << "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
wxLogError(wxT("can't handle '%s'"), filename.c_str());
|
||||
wxLogError(wxT("can't handle '%s'"), filename);
|
||||
}
|
||||
}
|
||||
@endcode
|
||||
|
Reference in New Issue
Block a user