X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c5b3143a47afa4dfab849e465cbd46e8a331a41b..d891cf3527b53274a67a3f89f9131b780cdfed7e:/src/msw/radiobut.cpp diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index 2b3b4925cc..c49c960045 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -237,7 +237,7 @@ bool wxRadioButton::GetValue() const void wxRadioButton::Command (wxCommandEvent& event) { - SetValue(event.m_commandInt != 0); + SetValue(event.GetInt() != 0); ProcessCommand(event); }