]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/radiobut.mm
Don't call StartingKey if the key was F2
[wxWidgets.git] / src / cocoa / radiobut.mm
index 4962d81f45abee5d79fa7a0b8ec25513b1d58fef..2384a73787750df9f8cd6db4c53617e357516159 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_RADIOBTN
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -158,3 +161,4 @@ void wxRadioButton::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+#endif