]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listboxtest.cpp
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / tests / controls / listboxtest.cpp
index afab5f80ed62f08a7a66598ca572e512f0524f75..32cc9defc2c6cd800be6fce10d704905671265b5 100644 (file)
@@ -184,8 +184,8 @@ void ListBoxTestCase::ClickEvents()
     wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
                                               wxTestableFrame);
 
     wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
                                               wxTestableFrame);
 
-    EventCounter selected(frame, wxEVT_COMMAND_LISTBOX_SELECTED);
-    EventCounter dclicked(frame, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED);
+    EventCounter selected(frame, wxEVT_LISTBOX);
+    EventCounter dclicked(frame, wxEVT_LISTBOX_DCLICK);
 
     wxUIActionSimulator sim;
 
 
     wxUIActionSimulator sim;
 
@@ -220,8 +220,8 @@ void ListBoxTestCase::ClickNotOnItem()
     wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
                                               wxTestableFrame);
 
     wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
                                               wxTestableFrame);
 
-    EventCounter selected(frame, wxEVT_COMMAND_LISTBOX_SELECTED);
-    EventCounter dclicked(frame, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED);
+    EventCounter selected(frame, wxEVT_LISTBOX);
+    EventCounter dclicked(frame, wxEVT_LISTBOX_DCLICK);
 
     wxUIActionSimulator sim;
 
 
     wxUIActionSimulator sim;