From fad4327b0da1cf7860a0e998a24cbf5ab134a683 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/trunk@59405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/config.h b/include/wx/config.h index ddbbbe2f47..74f90300f7 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" // ---------------------------------------------------------------------------- @@ -35,4 +38,6 @@ #define wxConfig wxFileConfig #endif +#endif // wxUSE_CONFIG + #endif // _WX_CONFIG_H_BASE_ -- 2.50.0