]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
yet another file I added on the wxUniv branch and forgot to merge
[wxWidgets.git] / src / motif / radiobut.cpp
index 51b1241ba5792a0c27ae5c8bf880d9e9d52e30a0..2668796a3e04056631e4a07536e63935d5a2634a 100644 (file)
@@ -87,17 +87,8 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
         NULL);
     XmStringFree (text);
 
-#ifdef __VMS__
-#pragma message disable voiincconext
-       // VMS gives here the compiler warning:
-       // conversion from pointer to function to void* permitted
-       // as an extension
-#endif
     XtAddCallback (radioButtonWidget, XmNvalueChangedCallback, (XtCallbackProc) wxRadioButtonCallback,
-        (XtCallbackProc) this);
-#ifdef __VMS__
-#pragma message enable voiincconext
-#endif
+        (XtPointer) this);
 
     m_mainWidget = (WXWidget) radioButtonWidget;