add wxUSE_CONFIG checks (see #10560)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-07 15:49:57 +00:00
parent 5345c6f18f
commit 101b242093
2 changed files with 11 additions and 4 deletions

View File

@@ -12,7 +12,9 @@
#ifndef _WX_MSW_INICONF_H_
#define _WX_MSW_INICONF_H_
#if wxUSE_INICONF
#include "wx/defs.h"
#if wxUSE_CONFIG && wxUSE_INICONF
// ----------------------------------------------------------------------------
// wxIniConfig is a wxConfig implementation which uses MS Windows INI files to
@@ -99,6 +101,6 @@ private:
DECLARE_ABSTRACT_CLASS(wxIniConfig)
};
#endif // wxUSE_INICONF
#endif // wxUSE_CONFIG && wxUSE_INICONF
#endif // _WX_MSW_INICONF_H_

View File

@@ -12,6 +12,10 @@
#ifndef _PREFCONF_H_
#define _PREFCONF_H_
#include "wx/defs.h"
#if wxUSE_CONFIG
// ----------------------------------------------------------------------------
// wxPrefConfig
// ----------------------------------------------------------------------------
@@ -87,5 +91,6 @@ private:
DECLARE_ABSTRACT_CLASS(wxPrefConfig)
};
#endif // _PREFCONF_H_
#endif // wxUSE_CONFIG
#endif // _PREFCONF_H_