X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f96b10c283479129b2adfb1b925bf8b39e443bdd..51e4e266702b0605ca3ab23983184edd7ec9e0aa:/src/motif/radiobut.cpp diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index b633e9cb20..424afc16b5 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -13,6 +13,9 @@ #pragma implementation "radiobut.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #endif @@ -133,7 +136,7 @@ bool wxRadioButton::GetValue() const void wxRadioButton::Command (wxCommandEvent & event) { - SetValue ( (event.m_commandInt != 0) ); + SetValue ( (event.GetInt() != 0) ); ProcessCommand (event); }