X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e960ba596b4835e430fc22bb6f9f74436f96c2c5..cd95f7e65c4e1ee61a5d90eb13687ff468cb13ad:/src/cocoa/combobox.mm diff --git a/src/cocoa/combobox.mm b/src/cocoa/combobox.mm index 167078c5b9..14c8d35532 100644 --- a/src/cocoa/combobox.mm +++ b/src/cocoa/combobox.mm @@ -6,7 +6,7 @@ // Created: 2005/02/16 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // @@ -168,7 +168,6 @@ WX_IMPLEMENT_GET_OBJC_CLASS(wxPoserNSComboBox,NSComboBox) #import -IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) BEGIN_EVENT_TABLE(wxComboBox, wxControl) END_EVENT_TABLE() WX_IMPLEMENT_COCOA_OWNER(wxComboBox,NSComboBox,NSTextField,NSView) @@ -229,14 +228,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 ); }