X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/338dd992160bf20205743c092b353d96ef7604fb..dbcbe229628c7667da2b6257198467d4f09ab28d:/src/motif/radiobut.cpp?ds=inline diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index 4c7e3c755e..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" @@ -34,9 +40,7 @@ void wxRadioButtonCallback (Widget w, XtPointer clientData, XmToggleButtonCallbackStruct * cbs); -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl) -#endif wxRadioButton::wxRadioButton() { @@ -85,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;