X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4871d34290873072ca2783074d4779ba5ecb2052..260020e39271329f71d1ef7912e3dc8216a2e924:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 3063917e61..efc13e5273 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -629,7 +629,8 @@ void wxWindow::Lower() void wxWindow::SetLabel(const wxString& label) { - XtVaSetValues((Widget)GetMainWidget(), XmNtitle, label.mb_str(), NULL); + XtVaSetValues((Widget)GetMainWidget(), XmNtitle, + (const char*)label.mb_str(), NULL); } wxString wxWindow::GetLabel() const