X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27758ba7d4465a9edac4cf3f9ee0fa6c57f304f4..09ff2ee1632c8c484134da2a31d0d5c4d0a4bef4:/src/msw/radiobox.cpp?ds=inline diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index b4fd6df3af..6e928f08ad 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -315,7 +315,7 @@ bool wxRadioBox::MSWCommand(WXUINT cmd, WXWORD id) void wxRadioBox::Command(wxCommandEvent & event) { - SetSelection (event.m_commandInt); + SetSelection (event.GetInt()); SetFocus(); ProcessCommand(event); }