]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / chkconf.h
index c55cfd8b57cd59f418b38f5562e44ab4cfeb74cd..4d9097ac3b8f3e628f18df9ec307571ccdbd6455 100644 (file)
 #   endif
 #endif /* !defined(wxUSE_NOTEBOOK) */
 
+#ifndef wxUSE_PALETTE
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxUSE_PALETTE must be defined."
+#   else
+#       define wxUSE_PALETTE 0
+#   endif
+#endif /* !defined(wxUSE_PALETTE) */
+
 #ifndef wxUSE_POPUPWIN
 #   ifdef wxABORT_ON_CONFIG_ERROR
 #       error "wxUSE_POPUPWIN must be defined."