X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..11fe6505b848a968f4c89cb3c3fd37a6a03bcaea:/src/motif/dialog.cpp?ds=sidebyside diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index b34a7ae801..95abbae57c 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -155,7 +155,7 @@ bool wxDialog::XmDoCreateTLW(wxWindow* parent, XtSetArg (args[1], XmNautoUnmanage, False); Widget dialogShell = XmCreateBulletinBoardDialog( parentWidget, - wxConstCast(name.mb_str(), char), + name.char_str(), args, 2); m_mainWidget = (WXWidget) dialogShell; @@ -236,9 +236,9 @@ void wxDialog::SetTitle(const wxString& title) { wxXmString str( title ); XtVaSetValues( (Widget)m_mainWidget, - XmNtitle, title.mb_str(), + XmNtitle, (const char*)title.mb_str(), XmNdialogTitle, str(), - XmNiconName, title.mb_str(), + XmNiconName, (const char*)title.mb_str(), NULL ); } }