X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..f83a9705cd1c82b7aad030890b7f88748b0e6101:/tests/controls/buttontest.cpp diff --git a/tests/controls/buttontest.cpp b/tests/controls/buttontest.cpp index 37502ea4fe..249fa67464 100644 --- a/tests/controls/buttontest.cpp +++ b/tests/controls/buttontest.cpp @@ -3,7 +3,6 @@ // Purpose: wxButton unit test // Author: Steven Lamerton // Created: 2010-06-21 -// RCS-ID: $Id$ // Copyright: (c) 2010 Steven Lamerton /////////////////////////////////////////////////////////////////////////////// @@ -82,7 +81,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 +98,7 @@ void ButtonTestCase::Click() void ButtonTestCase::Disabled() { - EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED); + EventCounter clicked(m_button, wxEVT_BUTTON); wxUIActionSimulator sim;