]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/comboboxtest.cpp
wxOSX: store the menu title when inserting it in the menu bar.
[wxWidgets.git] / tests / controls / comboboxtest.cpp
index e811f4a086b007dcbd8b4a91bacd01354fa4d2c0..609c66b23222cd82d97339c2bed2e3307bddc668 100644 (file)
@@ -129,8 +129,8 @@ void ComboBoxTestCase::Size()
 void ComboBoxTestCase::PopDismiss()
 {
 #if defined(__WXMSW__) || defined(__WXGTK210__)
-    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();