X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f5157911b5ff06d054e3b52320a0d3bf83ef6cb..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index eb6ffdd427..d64524fbe0 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -36,7 +36,7 @@ gtkcombobox_text_changed_callback( GtkWidget *WXUNUSED(widget), wxComboBox *comb wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, combo->GetId() ); event.SetString( combo->GetValue() ); event.SetEventObject( combo ); - combo->GetEventHandler()->ProcessEvent( event ); + combo->HandleWindowEvent( event ); } static void @@ -51,7 +51,7 @@ gtkcombobox_changed_callback( GtkWidget *WXUNUSED(widget), wxComboBox *combo ) event.SetInt( combo->GetSelection() ); event.SetString( combo->GetStringSelection() ); event.SetEventObject( combo ); - combo->GetEventHandler()->ProcessEvent( event ); + combo->HandleWindowEvent( event ); } } @@ -386,7 +386,7 @@ void wxComboBox::OnChar( wxKeyEvent &event ) eventEnter.SetInt( GetSelection() ); eventEnter.SetEventObject( this ); - if ( GetEventHandler()->ProcessEvent(eventEnter) ) + if ( HandleWindowEvent(eventEnter) ) { // Catch GTK event so that GTK doesn't open the drop // down list upon RETURN.