]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/buttontest.cpp
Don't ignore child process output if it exits with -1 exit code.
[wxWidgets.git] / tests / controls / buttontest.cpp
index 37502ea4fe6ddba0ad638c212b8e56e7df322ef5..bb7d684428c0a38e11f532f3c5456eb98f34773a 100644 (file)
@@ -82,7 +82,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 +99,7 @@ void ButtonTestCase::Click()
 
 void ButtonTestCase::Disabled()
 {
-    EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+    EventCounter clicked(m_button, wxEVT_BUTTON);
 
     wxUIActionSimulator sim;