X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd1bc7fcb319961b88a05d55ebcaaea6da3f9f95..5b72b3440180cf270f4518ff0e28ff56582438fb:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index a3c4f2d98b..7870ed3fe8 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -6,14 +6,14 @@ // Created: 20/07/98 // RCS-ID: $Id$ // Copyright: (c) 1998 Guilhem Lavaux -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DYNLIB_H__ #define _WX_DYNLIB_H__ -#ifdef __GNUG__ -# pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +# pragma interface "dynlib.h" #endif #include "wx/setup.h" @@ -76,7 +76,7 @@ DLLs and the resolving of symbols in them. There are no instances of this class, it simply serves as a namespace for its static member functions. */ -class WXDLLEXPORT wxDllLoader +class WXDLLIMPEXP_BASE wxDllLoader { public: /* @@ -130,7 +130,7 @@ private: // wxDynamicLibrary - friendly interface to wxDllLoader // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxDynamicLibrary +class WXDLLIMPEXP_BASE wxDynamicLibrary { public: // ctors @@ -185,7 +185,7 @@ private: // wxLibrary // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxLibrary : public wxObject +class WXDLLIMPEXP_BASE wxLibrary : public wxObject { public: wxLibrary(wxDllType handle); @@ -210,7 +210,7 @@ public: // wxLibraries // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxLibraries +class WXDLLIMPEXP_BASE wxLibraries { public: wxLibraries(); @@ -229,7 +229,7 @@ protected: // Global variables // ---------------------------------------------------------------------------- -extern WXDLLEXPORT_DATA(wxLibraries) wxTheLibraries; +extern WXDLLIMPEXP_DATA_BASE(wxLibraries) wxTheLibraries; // ---------------------------------------------------------------------------- // Interesting defines