X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ecd9653bf363d756f479d30fb8af11229681d74e..14ca93a0d9a025c6620eaa94ac0687e44c31e234:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index 57ec42af30..d090aafd74 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -38,6 +38,11 @@ // implementation // ============================================================================ +wxChoiceBase::~wxChoiceBase() +{ + // this destructor is required for Darwin +} + // ---------------------------------------------------------------------------- // selection // ---------------------------------------------------------------------------- @@ -59,7 +64,7 @@ bool wxChoiceBase::SetStringSelection(const wxString& s) void wxChoiceBase::Command(wxCommandEvent& event) { - SetSelection(event.m_commandInt); + SetSelection(event.GetInt()); (void)ProcessEvent(event); }