]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobox.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / motif / radiobox.cpp
index e6a71ba4fbe646e340a45d48736d6b1c817c693d..00303033a4a737a972f876b8fd75cd703c4ff07e 100644 (file)
 
 #if wxUSE_RADIOBOX
 
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
 #include "wx/radiobox.h"
 
 #ifndef WX_PRECOMP
@@ -125,7 +121,7 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title,
         wxString str(GetLabelText(choices[i]));
         m_radioButtonLabels.push_back(str);
         Widget radioItem =  XtVaCreateManagedWidget (
-                                wxConstCast(str.mb_str(), char),
+                                str.mb_str(),
 #if wxUSE_GADGETS
                                 xmToggleButtonGadgetClass, radioBoxWidget,
 #else