]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
non-pch build fix for wxUSE_DISPLAY==0
[wxWidgets.git] / src / motif / frame.cpp
index d0d2f3b70c786f6c4d285cc0c2e6a14546ae2474..c81a189d9781d978d6774c39040528ee65d239c7 100644 (file)
@@ -452,8 +452,8 @@ void wxFrame::SetTitle(const wxString& title)
 
     if( !title.empty() )
         XtVaSetValues( (Widget)m_frameShell,
-                       XmNtitle, title.mb_str(),
-                       XmNiconName, title.mb_str(),
+                       XmNtitle, (const char*)title.mb_str(),
+                       XmNiconName, (const char*)title.mb_str(),
                        NULL );
 }