]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/chkconf.h
activating DrawRectangle optimization
[wxWidgets.git] / include / wx / dfb / chkconf.h
index 860ea06cee67330bc7c3b168a4bfc74cf83bc861..705890fc7b8987cd4678173dd5de591c674a45b0 100644 (file)
 #   error "wxDirectFB cannot be built without wxUniversal"
 #endif
 
+#if !wxUSE_CONFIG
+#   error "wxFileConfig is required by wxDFB port"
+#endif
+
+#if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxSocket requires wxSelectDispatcher in wxDFB"
+#   else
+#       undef wxUSE_CONSOLE_EVENTLOOP
+#       define wxUSE_CONSOLE_EVENTLOOP 1
+#   endif
+#endif
+
+#if wxUSE_DATAOBJ
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxDataObject not supported in wxDFB"
+#   else
+#       undef wxUSE_DATAOBJ
+#       define wxUSE_DATAOBJ 0
+#   endif
+#endif
+
 #endif /* _WX_DFB_CHKCONF_H_ */