X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..4776f0c8c5cab0816974874140a3b429ae126fe0:/tests/controls/buttontest.cpp?ds=sidebyside 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;