From: Vadim Zeitlin Date: Sun, 15 Aug 2010 21:14:02 +0000 (+0000) Subject: Revert "Make wxComboBox::Popup() and ::Dismiss() emit events" X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6008ff4a554d52b9f5d9e369c1e90384e610d203 Revert "Make wxComboBox::Popup() and ::Dismiss() emit events" This reverts commit r65310 which was not, in fact, necessary as the events were already sent. See #12335. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index fe74ecbd95..69c1373dde 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -352,19 +352,11 @@ void wxComboBox::OnUpdateSelectAll(wxUpdateUIEvent& event) void wxComboBox::Popup() { - gtk_combo_box_popup( GTK_COMBO_BOX(m_widget) ); - - wxCommandEvent event( wxEVT_COMMAND_COMBOBOX_DROPDOWN, GetId() ); - event.SetEventObject( this ); - HandleWindowEvent( event ); + gtk_combo_box_popup( GTK_COMBO_BOX(m_widget) ); } void wxComboBox::Dismiss() { gtk_combo_box_popdown( GTK_COMBO_BOX(m_widget) ); - - wxCommandEvent event( wxEVT_COMMAND_COMBOBOX_CLOSEUP, GetId() ); - event.SetEventObject( this ); - HandleWindowEvent( event ); } #endif // wxUSE_COMBOBOX