]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/checkbox.mm
fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN...
[wxWidgets.git] / src / cocoa / checkbox.mm
index 07f7332b90507ca3c3fb1e8438dd4093d43acd38..c75820d25716c4fd756bce1eaa557de347a79512 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_CHECKBOX
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -133,3 +136,4 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+#endif