X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3096bd2fa7b88105bc54c08e3c878585de1a9b91..7e949b437c2faf2331a0439f8fae0f2ed5b3c4ef:/src/motif/radiobut.cpp diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index ccce0c9309..7e14e8d11c 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -16,21 +16,25 @@ #include "wx/radiobut.h" #include "wx/utils.h" +#ifdef __VMS__ +#pragma message disable nosimpint +#endif #include #include #include #include #include #include +#ifdef __VMS__ +#pragma message enable nosimpint +#endif #include "wx/motif/private.h" void wxRadioButtonCallback (Widget w, XtPointer clientData, XmToggleButtonCallbackStruct * cbs); -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl) -#endif wxRadioButton::wxRadioButton() { @@ -79,8 +83,17 @@ 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 m_mainWidget = (WXWidget) radioButtonWidget;