X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9d59ee7e0cbe4acae6153adafb5ddce9a4e65dd..ecd20d4a916884895dcd8873a9f1156e34f4ac89:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index a4be5ca35c..d090aafd74 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -64,7 +64,7 @@ bool wxChoiceBase::SetStringSelection(const wxString& s) void wxChoiceBase::Command(wxCommandEvent& event) { - SetSelection(event.m_commandInt); + SetSelection(event.GetInt()); (void)ProcessEvent(event); }