]> git.saurik.com Git - wxWidgets.git/commitdiff
check that wxUSE_DC_CACHEING is defined
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Aug 2005 13:10:09 +0000 (13:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Aug 2005 13:10:09 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/chkconf.h

index e760e1f1f9616a4309e9c625737eabc1471f4290..a980d0445d4cea8526dfce27d5c63cb6b8c553fb 100644 (file)
 #ifndef _WX_MSW_CHKCONF_H_
 #define _WX_MSW_CHKCONF_H_
 
 #ifndef _WX_MSW_CHKCONF_H_
 #define _WX_MSW_CHKCONF_H_
 
+/* ensure that MSW-specific settings are defined */
+#ifndef wxUSE_DC_CACHEING
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxUSE_DC_CACHEING must be defined"
+#   else
+#       define wxUSE_DC_CACHEING 1
+#   endif
+#endif /* wxUSE_DC_CACHEING */
+
+
 /*
  * disable the settings which don't work for some compilers
  */
 /*
  * disable the settings which don't work for some compilers
  */