]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/togglebuttontest.cpp
proper default for iphone
[wxWidgets.git] / tests / controls / togglebuttontest.cpp
index 295627e8103950c004f27ea21474551b5d3f2bbf..a3da93de58d11456a5b397b2583ea34515aef879 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxToggleButton unit test
 // Author:      Steven Lamerton
 // Created:     2010-07-14
-// RCS-ID:      $Id$
 // Copyright:   (c) 2010 Steven Lamerton
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -64,7 +63,7 @@ void ToggleButtonTestCase::tearDown()
 void ToggleButtonTestCase::Click()
 {
 #if wxUSE_UIACTIONSIMULATOR
-    EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON);
 
     wxUIActionSimulator sim;
 
@@ -89,7 +88,7 @@ void ToggleButtonTestCase::Click()
 
 void ToggleButtonTestCase::Value()
 {
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     m_button->SetValue(true);