]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/bitmaptogglebuttontest.cpp
Fix configure on GNU Hurd.
[wxWidgets.git] / tests / controls / bitmaptogglebuttontest.cpp
index 25783069adf1bceb69590b5ac8f4bb2cda38e159..45e846b81e17de1ea4e8a05e02b52b2f2a44f7f5 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxBitmapToggleButton unit test
 // Author:      Steven Lamerton
 // Created:     2010-07-17
-// RCS-ID:      $Id$
 // Copyright:   (c) 2010 Steven Lamerton
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -74,7 +73,7 @@ void BitmapToggleButtonTestCase::tearDown()
 void BitmapToggleButtonTestCase::Click()
 {
 #if wxUSE_UIACTIONSIMULATOR
-    EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON);
 
     wxUIActionSimulator sim;
 
@@ -101,7 +100,7 @@ void BitmapToggleButtonTestCase::Click()
 
 void BitmapToggleButtonTestCase::Value()
 {
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     m_button->SetValue(true);