From: Vadim Zeitlin Date: Sun, 18 Mar 2007 23:52:35 +0000 (+0000) Subject: replaced c_str() with mb_str() to fix compilation after c_str() changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a015b8917bd71878cbf096b3c09f4faad3e3856 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 --- diff --git a/include/wx/motif/private.h b/include/wx/motif/private.h index 36b0c038fe..4f87d491ee 100644 --- a/include/wx/motif/private.h +++ b/include/wx/motif/private.h @@ -139,8 +139,8 @@ public: wxXmString(const wxString& str) { - m_string = XmStringCreateLtoR((char *)str.c_str(), - XmSTRING_DEFAULT_CHARSET); + m_string = XmStringCreateLtoR((char *)str.mb_str(), + XmSTRING_DEFAULT_CHARSET); } // just to avoid calling XmStringFree()