X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..050c9e3c90c58b05d5b3f7384d1556ca9669f13e:/src/motif/radiobut.cpp?ds=sidebyside diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index 7e14e8d11c..9d77c21388 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -13,6 +13,12 @@ #pragma implementation "radiobut.h" #endif +#ifdef __VMS +#define XtDisplay XTDISPLAY +#endif + +#include "wx/defs.h" + #include "wx/radiobut.h" #include "wx/utils.h" @@ -83,17 +89,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;