X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/bitmaptogglebuttontest.cpp 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);