From 2a015b8917bd71878cbf096b3c09f4faad3e3856 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 18 Mar 2007 23:52:35 +0000 Subject: [PATCH] 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 --- include/wx/motif/private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.47.2