X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93ed8ff7707eec179cf99f2f2f3c36f27916b068..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/dynlib.h?ds=sidebyside diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 284ce7de2e..04a10d4fc8 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -12,10 +12,6 @@ #ifndef _WX_DYNLIB_H__ #define _WX_DYNLIB_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -# pragma interface "dynlib.h" -#endif - #include "wx/defs.h" #if wxUSE_DYNLIB_CLASS @@ -23,7 +19,7 @@ #include "wx/string.h" #include "wx/dynarray.h" -#if defined(__WXPM__) || defined(__EMX__) +#if defined(__OS2__) || defined(__EMX__) #include "wx/os2/private.h" #endif @@ -41,9 +37,9 @@ class WXDLLIMPEXP_BASE wxDynamicLibraryDetailsCreator; // conditional compilation // ---------------------------------------------------------------------------- -// Note: WXPM/EMX has to be tested first, since we want to use +// Note: __OS2__/EMX has to be tested first, since we want to use // native version, even if configure detected presence of DLOPEN. -#if defined(__WXPM__) || defined(__EMX__) || defined(__WINDOWS__) +#if defined(__OS2__) || defined(__EMX__) || defined(__WINDOWS__) typedef HMODULE wxDllType; #elif defined(HAVE_DLOPEN) #include @@ -254,7 +250,7 @@ public: return RawGetSymbol ( handle, - name + + name + #if wxUSE_UNICODE L'W' #else @@ -322,6 +318,8 @@ protected: #if WXWIN_COMPATIBILITY_2_2 && wxUSE_DYNAMIC_LOADER +#include "wx/object.h" + /* wxDllLoader is a class providing an interface similar to unix's dlopen(). It is used by wxDynamicLibrary wxLibrary and manages the actual loading of