From 749870835dec367e3310f90644ea5c36349d0524 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 11 Aug 2005 13:10:09 +0000 Subject: [PATCH] check that wxUSE_DC_CACHEING is defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/chkconf.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 */ -- 2.45.2