X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/073c8fe92a5d6807a3107a115739f0eb69915cc5..566b84d2ade885cc2fb4f75d63718331db8fe2df:/src/gtk/combobox.cpp?ds=sidebyside diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 82037c716d..7fd217fda3 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -42,7 +42,7 @@ static void gtk_combo_clicked_callback( GtkWidget *WXUNUSED(widget), wxComboBox combo->m_alreadySent = TRUE; - wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, combo->GetId()); + wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, combo->GetId()); event.SetInt( combo->GetSelection() ); wxString tmp( combo->GetStringSelection() ); event.SetString( WXSTRINGCAST(tmp) ); @@ -54,7 +54,7 @@ static void gtk_combo_clicked_callback( GtkWidget *WXUNUSED(widget), wxComboBox // "changed" //----------------------------------------------------------------------------- -static void +static void gtk_text_changed_callback( GtkWidget *WXUNUSED(widget), wxComboBox *combo ) { wxCommandEvent event( wxEVT_COMMAND_TEXT_UPDATED, combo->m_windowId );