]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dialog.cpp
Fixed copyrights, corrected licence spelling
[wxWidgets.git] / src / motif / dialog.cpp
index 1e3191c27e8d037a2d3173f6609c0c143e433037..def4c93d14be26d1b92caf0857ef79f4fd9e686c 100644 (file)
@@ -168,7 +168,8 @@ bool wxDialog::DoCreate( wxWindow* parent, wxWindowID id,
     XtSetArg (args[0], XmNdefaultPosition, False);
     XtSetArg (args[1], XmNautoUnmanage, False);
     Widget dialogShell =
-        XmCreateBulletinBoardDialog( parentWidget, (char*)name.c_str(),
+        XmCreateBulletinBoardDialog( parentWidget,
+                                     wxConstCast(name.c_str(), char),
                                      args, 2);
     m_mainWidget = (WXWidget) dialogShell;