]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/ownerdrawncomboboxtest.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / controls / ownerdrawncomboboxtest.cpp
index ecaa344552122eef8ccb3217d80ecbe2b6511afc..52f02284a6835b94aa95ec4a0b79091e4a914902 100644 (file)
@@ -129,8 +129,8 @@ void OwnerDrawnComboBoxTestCase::Size()
 
 void OwnerDrawnComboBoxTestCase::PopDismiss()
 {
-    EventCounter drop(m_combo, wxEVT_COMMAND_COMBOBOX_DROPDOWN);
-    EventCounter close(m_combo, wxEVT_COMMAND_COMBOBOX_CLOSEUP);
+    EventCounter drop(m_combo, wxEVT_COMBOBOX_DROPDOWN);
+    EventCounter close(m_combo, wxEVT_COMBOBOX_CLOSEUP);
 
     m_combo->Popup();
     m_combo->Dismiss();