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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user