X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0d3a2cc93915912ba879ec94d813043d7d60a36..e9e8b38179b147dd04f5c19af7e56a94342e93a7:/include/wx/config.h diff --git a/include/wx/config.h b/include/wx/config.h index ddbbbe2f47..e8734bf25d 100644 --- a/include/wx/config.h +++ b/include/wx/config.h @@ -12,9 +12,10 @@ #ifndef _WX_CONFIG_H_BASE_ #define _WX_CONFIG_H_BASE_ -#include "wx/defs.h" #include "wx/confbase.h" +#if wxUSE_CONFIG + // ---------------------------------------------------------------------------- // define the native wxConfigBase implementation // ---------------------------------------------------------------------------- @@ -35,4 +36,6 @@ #define wxConfig wxFileConfig #endif +#endif // wxUSE_CONFIG + #endif // _WX_CONFIG_H_BASE_