X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68275b8532c786567659db548e905e5495509a4b..8bc3617742deb43c011fa91e840cb7a6d3e9b095:/include/wx/confbase.h diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 4b06078b0e..25b97678b8 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -19,9 +19,6 @@ #endif #include "wx/defs.h" - -#if wxUSE_CONFIG - #include "wx/string.h" // ---------------------------------------------------------------------------- @@ -44,6 +41,10 @@ #define wxCONFIG_IMMUTABLE_PREFIX _T('!') #endif +#if wxUSE_CONFIG + +#include "wx/string.h" + /// should we use registry instead of configuration files under Windows? // (i.e. whether wxConfigBase::Create() will create a wxFileConfig (if it's // FALSE) or wxRegConfig (if it's true and we're under Win32) or wxIniConfig @@ -302,21 +303,19 @@ private: #endif // wxUSE_CONFIG -// ---------------------------------------------------------------------------- -// various helper global functions (defined even if !wxUSE_CONFIG) -// ---------------------------------------------------------------------------- - /* Replace environment variables ($SOMETHING) with their values. The format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric characters and '_' only. '$' must be escaped ('\$') in order to be taken literally. - */ -extern WXDLLEXPORT wxString wxExpandEnvVars(const wxString &sz); +*/ + +WXDLLEXPORT wxString wxExpandEnvVars(const wxString &sz); /* Split path into parts removing '..' in progress */ -extern WXDLLEXPORT void wxSplitPath(wxArrayString& aParts, const wxChar *sz); +WXDLLEXPORT void wxSplitPath(wxArrayString& aParts, const wxChar *sz); + #endif // _WX_CONFIG_H_