]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/togglebuttontest.cpp
Add empty paragraph in wxRichTextTable::AddColumns() and AddRows().
[wxWidgets.git] / tests / controls / togglebuttontest.cpp
index 295627e8103950c004f27ea21474551b5d3f2bbf..054b7c6574995ea43a371c8570af44e578bb6019 100644 (file)
@@ -64,7 +64,7 @@ void ToggleButtonTestCase::tearDown()
 void ToggleButtonTestCase::Click()
 {
 #if wxUSE_UIACTIONSIMULATOR
 void ToggleButtonTestCase::Click()
 {
 #if wxUSE_UIACTIONSIMULATOR
-    EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON);
 
     wxUIActionSimulator sim;
 
 
     wxUIActionSimulator sim;
 
@@ -89,7 +89,7 @@ void ToggleButtonTestCase::Click()
 
 void ToggleButtonTestCase::Value()
 {
 
 void ToggleButtonTestCase::Value()
 {
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     m_button->SetValue(true);
 
 
     m_button->SetValue(true);