From 289fc83385b21d488fbd46d1c657d51b4821faf8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 10 Feb 2012 23:34:49 +0000 Subject: [PATCH] Added a test for wxUSE_DATAOBJ to wxDFB which doesn't support it. 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/wx/dfb/chkconf.h b/include/wx/dfb/chkconf.h index 6e2895a16a..705890fc7b 100644 --- a/include/wx/dfb/chkconf.h +++ b/include/wx/dfb/chkconf.h @@ -30,4 +30,13 @@ # 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_ */ -- 2.47.2