X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0d3a2cc93915912ba879ec94d813043d7d60a36..b0607dd221a6110cbd2a4a42e379b93e5f2d5334:/include/wx/config.h?ds=sidebyside 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_