]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_DATAOBJ requires wxUSE_OLE (bug 1526189)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Jul 2006 20:31:41 +0000 (20:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Jul 2006 20:31:41 +0000 (20:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/chkconf.h

index a381c045aa729626756aea8ff18366c4b049c432..28897ab05081f5a46624c633fb95e34e17512f59 100644 (file)
 #   endif
 #endif  /* wxUSE_DYNLIB_CLASS */
 
+#if !wxUSE_OLE
+#   if wxUSE_DATAOBJ
+#       ifdef wxABORT_ON_CONFIG_ERROR
+#           error "wxUSE_DATAOBJ requires wxUSE_OLE"
+#       else
+#           undef wxUSE_DATAOBJ
+#           define wxUSE_DATAOBJ 0
+#       endif
+#   endif
+#endif /* wxUSE_OLE */
+
 #endif /* _WX_MSW_CHKCONF_H_ */