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);