]> git.saurik.com Git - wxWidgets.git/blame - include/wx/config.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / config.h
CommitLineData
2ecf902b 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/config.h
2ecf902b 3// Purpose: wxConfig base header
99d80019 4// Author: Julian Smart
2ecf902b
WS
5// Modified by:
6// Created:
99d80019 7// Copyright: (c) Julian Smart
2ecf902b
WS
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
26ac5fad
JS
11#ifndef _WX_CONFIG_H_BASE_
12#define _WX_CONFIG_H_BASE_
13
7ac1b576 14#include "wx/confbase.h"
fad4327b
VZ
15
16#if wxUSE_CONFIG
17
f0d3a2cc
VZ
18// ----------------------------------------------------------------------------
19// define the native wxConfigBase implementation
20// ----------------------------------------------------------------------------
21
22// under Windows we prefer to use the native implementation but can be forced
23// to use the file-based one
bb5a9514 24#if defined(__WINDOWS__) && wxUSE_CONFIG_NATIVE
f0d3a2cc
VZ
25 #include "wx/msw/regconf.h"
26 #define wxConfig wxRegConfig
27#elif defined(__WXOS2__) && wxUSE_CONFIG_NATIVE
28 #include "wx/os2/iniconf.h"
29 #define wxConfig wxIniConfig
f0d3a2cc
VZ
30#else // either we're under Unix or wish to always use config files
31 #include "wx/fileconf.h"
32 #define wxConfig wxFileConfig
c801d85f
KB
33#endif
34
fad4327b
VZ
35#endif // wxUSE_CONFIG
36
f0d3a2cc 37#endif // _WX_CONFIG_H_BASE_