X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b36e08d0867cf3f6a5a286ce145c0fb80746c290..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/common/choiccmn.cpp diff --git a/src/common/choiccmn.cpp b/src/common/choiccmn.cpp index db5fea5e20..64f8a92347 100644 --- a/src/common/choiccmn.cpp +++ b/src/common/choiccmn.cpp @@ -31,7 +31,7 @@ #ifndef WX_PRECOMP #endif -const wxChar wxChoiceNameStr[] = wxT("choice"); +const char wxChoiceNameStr[] = "choice"; // ============================================================================ // implementation @@ -49,7 +49,7 @@ wxChoiceBase::~wxChoiceBase() void wxChoiceBase::Command(wxCommandEvent& event) { SetSelection(event.GetInt()); - (void)ProcessEvent(event); + (void)GetEventHandler()->ProcessEvent(event); } #endif // wxUSE_CHOICE