]> git.saurik.com Git - wxWidgets.git/commitdiff
Added a test for wxUSE_DATAOBJ to wxDFB which doesn't support it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Feb 2012 23:34:49 +0000 (23:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Feb 2012 23:34:49 +0000 (23:34 +0000)
This is just one of many, many things not supported by wxDFB but check for at
least this one as it prevents even the precompiled header from being created.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dfb/chkconf.h

index 6e2895a16a3abe81785832a79647282d26ebf38f..705890fc7b8987cd4678173dd5de591c674a45b0 100644 (file)
 #   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_ */