replaced c_str() with mb_str() to fix compilation after c_str() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,8 +139,8 @@ public:
|
|||||||
|
|
||||||
wxXmString(const wxString& str)
|
wxXmString(const wxString& str)
|
||||||
{
|
{
|
||||||
m_string = XmStringCreateLtoR((char *)str.c_str(),
|
m_string = XmStringCreateLtoR((char *)str.mb_str(),
|
||||||
XmSTRING_DEFAULT_CHARSET);
|
XmSTRING_DEFAULT_CHARSET);
|
||||||
}
|
}
|
||||||
|
|
||||||
// just to avoid calling XmStringFree()
|
// just to avoid calling XmStringFree()
|
||||||
|
Reference in New Issue
Block a user