]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/listboxtest.cpp
Fixed capitalisation
[wxWidgets.git] / tests / controls / listboxtest.cpp
index afab5f80ed62f08a7a66598ca572e512f0524f75..86659270fbbacc155a433974f883ae2ce9c220b3 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxListBox unit test
 // Author:      Steven Lamerton
 // Created:     2010-06-29
-// RCS-ID:      $Id$
 // Copyright:   (c) 2010 Steven Lamerton
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -184,8 +183,8 @@ void ListBoxTestCase::ClickEvents()
     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;
 
@@ -220,8 +219,8 @@ void ListBoxTestCase::ClickNotOnItem()
     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;