]> git.saurik.com Git - wxWidgets.git/commitdiff
replaced c_str() with mb_str() to fix compilation after c_str() changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Mar 2007 23:52:35 +0000 (23:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Mar 2007 23:52:35 +0000 (23:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/motif/private.h

index 36b0c038fe53680893a96352d9dc2dc54de6cc0b..4f87d491ee4df5aaaf32dd3ddb86555434d8b263 100644 (file)
@@ -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()