2005-03-16 11:18:31 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-03-19 20:14:35 -04:00
|
|
|
// Name: wx/config.h
|
2005-03-16 11:18:31 -05:00
|
|
|
// Purpose: wxConfig base header
|
2005-05-04 14:57:50 -04:00
|
|
|
// Author: Julian Smart
|
2005-03-16 11:18:31 -05:00
|
|
|
// Modified by:
|
|
|
|
// Created:
|
2005-05-04 14:57:50 -04:00
|
|
|
// Copyright: (c) Julian Smart
|
2005-03-16 11:18:31 -05:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-22 12:41:51 -04:00
|
|
|
#ifndef _WX_CONFIG_H_BASE_
|
|
|
|
#define _WX_CONFIG_H_BASE_
|
|
|
|
|
2009-05-05 23:08:33 -04:00
|
|
|
#include "wx/confbase.h"
|
2009-03-07 09:03:45 -05:00
|
|
|
|
|
|
|
#if wxUSE_CONFIG
|
|
|
|
|
2008-03-01 20:14:16 -05: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 15:31:42 -05:00
|
|
|
#if defined(__WINDOWS__) && wxUSE_CONFIG_NATIVE
|
2008-03-01 20:14:16 -05: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 10:01:55 -04:00
|
|
|
#endif
|
|
|
|
|
2009-03-07 09:03:45 -05:00
|
|
|
#endif // wxUSE_CONFIG
|
|
|
|
|
2008-03-01 20:14:16 -05:00
|
|
|
#endif // _WX_CONFIG_H_BASE_
|