Add missing c_str() call to fix wxGTK ANSI+STL build.
Closes #15518. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -116,7 +116,7 @@ wxConvertToGTK(const wxString& s, wxFontEncoding enc)
|
|||||||
wxWCharBuffer wbuf;
|
wxWCharBuffer wbuf;
|
||||||
if ( enc == wxFONTENCODING_SYSTEM || enc == wxFONTENCODING_DEFAULT )
|
if ( enc == wxFONTENCODING_SYSTEM || enc == wxFONTENCODING_DEFAULT )
|
||||||
{
|
{
|
||||||
wbuf = wxConvUI->cMB2WC(s);
|
wbuf = wxConvUI->cMB2WC(s.c_str());
|
||||||
}
|
}
|
||||||
else // another encoding, use generic conversion class
|
else // another encoding, use generic conversion class
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user