]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/combobox.cpp
Get the OS X Cocoa native combobox building by having the native code compile if...
[wxWidgets.git] / src / osx / carbon / combobox.cpp
index f8223c9108a79cc04d3c43045c6b802ac8e3c570..c37811805ce604807db7b8d5eafcc7c69e54293e 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "wx/wxprec.h"
 
-#if wxUSE_COMBOBOX
+#if wxUSE_COMBOBOX && !defined(wxOSX_USE_NATIVE_COMBOBOX)
 
 #include "wx/combobox.h"
 
@@ -686,4 +686,4 @@ bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) )
     return true ;
 }
 
-#endif // wxUSE_COMBOBOX
+#endif // wxUSE_COMBOBOX && !defined(wxOSX_USE_NATIVE_COMBOBOX)