2005-03-16 16:18:31 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-03-20 00:14:35 +00:00
|
|
|
// Name: wx/config.h
|
2005-03-16 16:18:31 +00:00
|
|
|
// Purpose: wxConfig base header
|
2005-05-04 18:57:50 +00:00
|
|
|
// Author: Julian Smart
|
2005-03-16 16:18:31 +00:00
|
|
|
// Modified by:
|
|
|
|
// Created:
|
2005-05-04 18:57:50 +00:00
|
|
|
// Copyright: (c) Julian Smart
|
2005-03-16 16:18:31 +00:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-22 16:41:51 +00:00
|
|
|
#ifndef _WX_CONFIG_H_BASE_
|
|
|
|
#define _WX_CONFIG_H_BASE_
|
|
|
|
|
2009-05-06 03:08:33 +00:00
|
|
|
#include "wx/confbase.h"
|
2009-03-07 14:03:45 +00:00
|
|
|
|
|
|
|
#if wxUSE_CONFIG
|
|
|
|
|
2008-03-02 01:14:16 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// define the native wxConfigBase implementation
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// under Windows we prefer to use the native implementation but can be forced
|
|
|
|
// to use the file-based one
|
2012-03-04 20:31:42 +00:00
|
|
|
#if defined(__WINDOWS__) && wxUSE_CONFIG_NATIVE
|
2008-03-02 01:14:16 +00:00
|
|
|
#include "wx/msw/regconf.h"
|
|
|
|
#define wxConfig wxRegConfig
|
|
|
|
#else // either we're under Unix or wish to always use config files
|
|
|
|
#include "wx/fileconf.h"
|
|
|
|
#define wxConfig wxFileConfig
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
|
2009-03-07 14:03:45 +00:00
|
|
|
#endif // wxUSE_CONFIG
|
|
|
|
|
2008-03-02 01:14:16 +00:00
|
|
|
#endif // _WX_CONFIG_H_BASE_
|