X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798..e29b83a455bead3dae44300f631d07aa9635d3e9:/src/common/config.cpp diff --git a/src/common/config.cpp b/src/common/config.cpp index 9f25a1f05b..47cf94f498 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// declarations -// ============================================================================ - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -23,26 +19,28 @@ #include "wx/wxprec.h" +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +#include + +#ifdef wxUSE_CONFIG + #ifdef __BORLANDC__ #pragma hdrstop #endif //__BORLANDC__ -#ifndef WX_PRECOMP - #include - #include -#endif //WX_PRECOMP - #include #include #include #include -#include #include // we must include (one of) these files for wxConfigBase::Create #if defined(__WXMSW__) && defined(wxCONFIG_WIN32_NATIVE) #ifdef __WIN32__ - #include + #include #else //WIN16 #include #endif @@ -275,9 +273,9 @@ wxString wxExpandEnvVars(const wxString& str) { Bracket_None, Bracket_Normal = ')', - Bracket_Curly = '}', + Bracket_Curly = '}' #ifdef __WXMSW__ - Bracket_Windows = '%' // yeah, Windows people are a bit strange ;-) + ,Bracket_Windows = '%' // yeah, Windows people are a bit strange ;-) #endif }; @@ -409,3 +407,8 @@ void wxSplitPath(wxArrayString& aParts, const char *sz) pc++; } } + +#endif + + // wxUSE_CONFIG +