remove some unnecessary c_str() calls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-05-17 15:46:08 +00:00
parent e2cb99c856
commit f069ac4801
3 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ wxConvertToGTK(const wxString& s, wxFontEncoding enc)
wxWCharBuffer wbuf;
if ( enc == wxFONTENCODING_SYSTEM || enc == wxFONTENCODING_DEFAULT )
{
wbuf = wxConvUI->cMB2WC(s.c_str());
wbuf = wxConvUI->cMB2WC(s);
}
else // another encoding, use generic conversion class
{