X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105fbe1ffa8968cb85fd2cac7192957e522d17ba..e2f3bc41106f177e3d4ab717961c1a2469abdbef:/src/motif/dialog.cpp 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 ); } }