X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..0093fe11c5f581abbc37447b191903e871112f46:/include/wx/confbase.h diff --git a/include/wx/confbase.h b/include/wx/confbase.h index 4414c8e7a9..415c770efd 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -14,13 +14,15 @@ #ifndef _WX_CONFBASE_H_ #define _WX_CONFBASE_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "confbase.h" #endif #include "wx/defs.h" #include "wx/string.h" +class WXDLLIMPEXP_BASE wxArrayString; + // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -73,7 +75,8 @@ enum // Keys are pairs "key_name = value" where value may be of string or integer // (long) type (TODO doubles and other types such as wxDate coming soon). // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxConfigBase + +class WXDLLIMPEXP_BASE wxConfigBase { public: // constants @@ -292,7 +295,7 @@ private: // you work in the entry directory and the path is automatically restored // when the function returns // Taken out of wxConfig since not all compilers can cope with nested classes. -class wxConfigPathChanger +class WXDLLIMPEXP_BASE wxConfigPathChanger { public: // ctor/dtor do path changing/restorin @@ -308,7 +311,7 @@ private: m_strOldPath; // saved path bool m_bChanged; // was the path changed? - DECLARE_NO_COPY_CLASS(wxConfigPathChanger) + DECLARE_NO_COPY_CLASS(wxConfigPathChanger) }; @@ -338,12 +341,12 @@ private: '_' only. '$' must be escaped ('\$') in order to be taken literally. */ -WXDLLEXPORT wxString wxExpandEnvVars(const wxString &sz); +WXDLLIMPEXP_BASE wxString wxExpandEnvVars(const wxString &sz); /* Split path into parts removing '..' in progress */ -WXDLLEXPORT void wxSplitPath(wxArrayString& aParts, const wxChar *sz); +WXDLLIMPEXP_BASE void wxSplitPath(wxArrayString& aParts, const wxChar *sz); #endif