]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
escape _ in LaTeX sources
[wxWidgets.git] / src / motif / frame.cpp
index e734afa91021740aead0fb02b10cd80aa7c820a3..8de4757af2a4cc44a5a2e8c9e932e9d571e7c0a8 100644 (file)
@@ -454,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 );
 }