]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/radiobuttontest.cpp
Add a test for eol-native file existence in the release script.
[wxWidgets.git] / tests / controls / radiobuttontest.cpp
index 92ff3a307965e27c8f44bcbf8a7967051d1eaa19..6a402f1706230ff1b7e6eab53d4e8c3ad2b4b3f4 100644 (file)
@@ -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);