]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/buttontest.cpp
Fix configure on GNU Hurd.
[wxWidgets.git] / tests / controls / buttontest.cpp
index 37502ea4fe6ddba0ad638c212b8e56e7df322ef5..249fa67464376c4c95a6da49cd26e2aa66deb766 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxButton unit test
 // Author:      Steven Lamerton
 // Created:     2010-06-21
-// RCS-ID:      $Id$
 // Copyright:   (c) 2010 Steven Lamerton
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -82,7 +81,7 @@ void ButtonTestCase::Click()
 {
     //We use the internal class EventCounter which handles connecting and
     //disconnecting the control to the wxTestableFrame
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     wxUIActionSimulator sim;
 
@@ -99,7 +98,7 @@ void ButtonTestCase::Click()
 
 void ButtonTestCase::Disabled()
 {
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     wxUIActionSimulator sim;