X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e3e485bc855bb6aa3e3e7978eac9fb5eea0287e..f5f93ea573cb7dbbf8c69bfa69466a66d59b1b64:/src/motif/frame.cpp diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index 35d67b0619..8de4757af2 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -36,10 +36,9 @@ #include "wx/icon.h" #include "wx/settings.h" #include "wx/toolbar.h" + #include "wx/statusbr.h" #endif -#include "wx/statusbr.h" - #ifdef __VMS__ #pragma message disable nosimpint #endif @@ -455,8 +454,8 @@ void wxFrame::SetTitle(const wxString& title) if( !title.empty() ) XtVaSetValues( (Widget)m_frameShell, - XmNtitle, title.c_str(), - XmNiconName, title.c_str(), + XmNtitle, title.mb_str(), + XmNiconName, title.mb_str(), NULL ); }