]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / cocoa / choice.mm
index 11e94454e61c948c2cf9312fe6c3bc8e9d2a9b6e..e5c2431dc83d93895172f5b4cb85ffb3c31073fc 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_CHOICE
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -240,3 +243,4 @@ void wxChoice::SetSelection(int n)
     [(NSPopUpButton*)m_cocoaNSView selectItemAtIndex:n];
 }
 
+#endif