Applied #10560 (Missing wxUSE_CONFIG checks.)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-09-28 10:02:42 +00:00
parent 3c98b2751e
commit 05c0fe0df0
3 changed files with 20 additions and 3 deletions

View File

@@ -12,6 +12,10 @@
#ifndef _INICONF_H #ifndef _INICONF_H
#define _INICONF_H #define _INICONF_H
#include "wx/defs.h"
#if wxUSE_CONFIG
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxIniConfig is a wxConfig implementation which uses MS Windows INI files to // wxIniConfig is a wxConfig implementation which uses MS Windows INI files to
// store the data. Because INI files don't really support arbitrary nesting of // store the data. Because INI files don't really support arbitrary nesting of
@@ -92,4 +96,6 @@ private:
m_strPath; // the rest of the path (no trailing '_'!) m_strPath; // the rest of the path (no trailing '_'!)
}; };
#endif //_INICONF_H #endif // wxUSE_CONFIG
#endif // _INICONF_H

View File

@@ -12,6 +12,10 @@
#ifndef _REGCONF_H #ifndef _REGCONF_H
#define _REGCONF_H #define _REGCONF_H
#include "wx/defs.h"
#if wxUSE_CONFIG
#ifndef _REGISTRY_H #ifndef _REGISTRY_H
#include "wx/msw/registry.h" #include "wx/msw/registry.h"
#endif #endif
@@ -107,4 +111,6 @@ private:
wxString m_strPath; wxString m_strPath;
}; };
#endif //_REGCONF_H #endif // wxUSE_CONFIG
#endif // _REGCONF_H

View File

@@ -12,6 +12,10 @@
#ifndef _PREFCONF_H_ #ifndef _PREFCONF_H_
#define _PREFCONF_H_ #define _PREFCONF_H_
#include "wx/defs.h"
#if wxUSE_CONFIG
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxPrefConfig // wxPrefConfig
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -86,5 +90,6 @@ private:
bool m_modGroup; bool m_modGroup;
}; };
#endif // _PREFCONF_H_ #endif // wxUSE_CONFIG
#endif // _PREFCONF_H_