X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e960ba596b4835e430fc22bb6f9f74436f96c2c5..a766986f6d443ba1d50e3af25f3306fa56e4518e:/src/cocoa/combobox.mm diff --git a/src/cocoa/combobox.mm b/src/cocoa/combobox.mm index 167078c5b9..c65d6b5a70 100644 --- a/src/cocoa/combobox.mm +++ b/src/cocoa/combobox.mm @@ -229,14 +229,14 @@ void wxComboBox::doWxEvent(int nEvent) event2.SetInt(GetSelection()); event2.SetEventObject(this); event2.SetString(GetStringSelection()); - GetEventHandler()->ProcessEvent(event2); + HandleWindowEvent(event2); // For consistency with MSW and GTK, also send a text updated event // After all, the text is updated when a selection is made wxCommandEvent TextEvent( wxEVT_COMMAND_TEXT_UPDATED, GetId() ); TextEvent.SetString( GetStringSelection() ); TextEvent.SetEventObject( this ); - GetEventHandler()->ProcessEvent( TextEvent ); + HandleWindowEvent( TextEvent ); }