X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..a9fd42ccebb2534cfd3910bc7108171f4ee6d54b:/tests/controls/togglebuttontest.cpp diff --git a/tests/controls/togglebuttontest.cpp b/tests/controls/togglebuttontest.cpp index 295627e810..054b7c6574 100644 --- a/tests/controls/togglebuttontest.cpp +++ b/tests/controls/togglebuttontest.cpp @@ -64,7 +64,7 @@ void ToggleButtonTestCase::tearDown() void ToggleButtonTestCase::Click() { #if wxUSE_UIACTIONSIMULATOR - EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED); + EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON); wxUIActionSimulator sim; @@ -89,7 +89,7 @@ void ToggleButtonTestCase::Click() void ToggleButtonTestCase::Value() { - EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED); + EventCounter clicked(m_button, wxEVT_BUTTON); m_button->SetValue(true);