From 7d39ece5f1cc667663c229c4b2fe71f92c582b86 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Mar 2009 14:03:45 +0000 Subject: [PATCH] add wxUSE_CONFIG guard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wx/config.h b/include/wx/config.h index 2cd571dae6..a6efb04e33 100644 --- a/include/wx/config.h +++ b/include/wx/config.h @@ -13,6 +13,9 @@ #define _WX_CONFIG_H_BASE_ #include "wx/defs.h" + +#if wxUSE_CONFIG + #include "wx/confbase.h" #if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE @@ -27,5 +30,6 @@ # include "wx/fileconf.h" #endif -#endif - // _WX_CONFIG_H_BASE_ +#endif // wxUSE_CONFIG + +#endif // _WX_CONFIG_H_BASE_