X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..cd15bcaf50ead53ccf9d50965312f0dc754affb4:/tests/controls/bitmaptogglebuttontest.cpp?ds=sidebyside diff --git a/tests/controls/bitmaptogglebuttontest.cpp b/tests/controls/bitmaptogglebuttontest.cpp index 25783069ad..03a7e7eac0 100644 --- a/tests/controls/bitmaptogglebuttontest.cpp +++ b/tests/controls/bitmaptogglebuttontest.cpp @@ -74,7 +74,7 @@ void BitmapToggleButtonTestCase::tearDown() void BitmapToggleButtonTestCase::Click() { #if wxUSE_UIACTIONSIMULATOR - EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED); + EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON); wxUIActionSimulator sim; @@ -101,7 +101,7 @@ void BitmapToggleButtonTestCase::Click() void BitmapToggleButtonTestCase::Value() { - EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED); + EventCounter clicked(m_button, wxEVT_BUTTON); m_button->SetValue(true);