X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/tests/controls/togglebuttontest.cpp diff --git a/tests/controls/togglebuttontest.cpp b/tests/controls/togglebuttontest.cpp index 295627e810..a3da93de58 100644 --- a/tests/controls/togglebuttontest.cpp +++ b/tests/controls/togglebuttontest.cpp @@ -3,7 +3,6 @@ // Purpose: wxToggleButton unit test // Author: Steven Lamerton // Created: 2010-07-14 -// RCS-ID: $Id$ // Copyright: (c) 2010 Steven Lamerton /////////////////////////////////////////////////////////////////////////////// @@ -64,7 +63,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 +88,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);