X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/buttontest.cpp diff --git a/tests/controls/buttontest.cpp b/tests/controls/buttontest.cpp index 37502ea4fe..bb7d684428 100644 --- a/tests/controls/buttontest.cpp +++ b/tests/controls/buttontest.cpp @@ -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;