From: Vadim Zeitlin Date: Thu, 11 Aug 2005 13:10:09 +0000 (+0000) Subject: check that wxUSE_DC_CACHEING is defined X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/749870835dec367e3310f90644ea5c36349d0524?ds=sidebyside check that wxUSE_DC_CACHEING is defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index e760e1f1f9..a980d0445d 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -14,6 +14,16 @@ #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 */