X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b36e08d0867cf3f6a5a286ce145c0fb80746c290..ec2d6790e96921e031555eac66bb924b0eb6c1a0:/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