// Purpose: wxToggleButton unit test
// Author: Steven Lamerton
// Created: 2010-07-14
-// RCS-ID: $Id$
// Copyright: (c) 2010 Steven Lamerton
///////////////////////////////////////////////////////////////////////////////
void ToggleButtonTestCase::Click()
{
#if wxUSE_UIACTIONSIMULATOR
- EventCounter clicked(m_button, wxEVT_COMMAND_TOGGLEBUTTON_CLICKED);
+ EventCounter clicked(m_button, wxEVT_TOGGLEBUTTON);
wxUIActionSimulator sim;
void ToggleButtonTestCase::Value()
{
- EventCounter clicked(m_button, wxEVT_COMMAND_BUTTON_CLICKED);
+ EventCounter clicked(m_button, wxEVT_BUTTON);
m_button->SetValue(true);