+#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
+