X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/radiobuttontest.cpp diff --git a/tests/controls/radiobuttontest.cpp b/tests/controls/radiobuttontest.cpp index 92ff3a3079..6a402f1706 100644 --- a/tests/controls/radiobuttontest.cpp +++ b/tests/controls/radiobuttontest.cpp @@ -69,9 +69,9 @@ void RadioButtonTestCase::tearDown() void RadioButtonTestCase::Click() { - // GTK does not support selecting a single radio button -#if wxUSE_UIACTIONSIMULATOR && !defined(__WXGTK__) - EventCounter selected(m_radio, wxEVT_COMMAND_RADIOBUTTON_SELECTED); + // GTK and OS X do not support selecting a single radio button +#if wxUSE_UIACTIONSIMULATOR && !defined(__WXGTK__) && !defined(__WXOSX__) + EventCounter selected(m_radio, wxEVT_RADIOBUTTON); wxUIActionSimulator sim; @@ -87,7 +87,7 @@ void RadioButtonTestCase::Click() void RadioButtonTestCase::Value() { #ifndef __WXGTK__ - EventCounter selected(m_radio, wxEVT_COMMAND_RADIOBUTTON_SELECTED); + EventCounter selected(m_radio, wxEVT_RADIOBUTTON); m_radio->SetValue(true);