X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a2e5ee8f9db480a7522a4dec679647829050c94..890defb4f3a0012a296c69949bf5f93075743e8f:/src/common/choiccmn.cpp?ds=sidebyside diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index 5a77d70f82..64f8a92347 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: common/choiccmn.cpp +// Name: src/common/choiccmn.cpp // Purpose: common (to all ports) wxChoice functions // Author: Vadim Zeitlin // Modified by: @@ -26,11 +26,12 @@ #if wxUSE_CHOICE +#include "wx/choice.h" + #ifndef WX_PRECOMP - #include "wx/choice.h" #endif -const wxChar wxChoiceNameStr[] = wxT("choice"); +const char wxChoiceNameStr[] = "choice"; // ============================================================================ // implementation @@ -48,8 +49,7 @@ wxChoiceBase::~wxChoiceBase() void wxChoiceBase::Command(wxCommandEvent& event) { SetSelection(event.GetInt()); - (void)ProcessEvent(event); + (void)GetEventHandler()->ProcessEvent(event); } #endif // wxUSE_CHOICE -