X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..31ad423e4fb556ec225a63b161154d3bf3445c1b:/include/wx/snglinst.h diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h index 114b73b3d1..9351b9eb5d 100644 --- a/include/wx/snglinst.h +++ b/include/wx/snglinst.h @@ -13,7 +13,7 @@ #ifndef _WX_SNGLINST_H_ #define _WX_SNGLINST_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "snglinst.h" #endif @@ -23,7 +23,7 @@ // wxSingleInstanceChecker // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxSingleInstanceChecker +class WXDLLIMPEXP_BASE wxSingleInstanceChecker { public: // default ctor, use Create() after it @@ -59,7 +59,7 @@ private: void Init() { m_impl = NULL; } // the implementation details (platform specific) - class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl; + class WXDLLIMPEXP_BASE wxSingleInstanceCheckerImpl *m_impl; DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker) };