X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3096bd2fa7b88105bc54c08e3c878585de1a9b91..3cbe51d09405849cc89b185b90aaa8880365e3dd:/src/motif/radiobut.cpp diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index ccce0c9309..4c7e3c755e 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -16,12 +16,18 @@ #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" @@ -79,8 +85,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;