X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b97a2c5385b21f5db30d98212c01c9aa936bccb6..b668a73527cd08aae1321bfb1c604c9b96fffbed:/include/wx/dynlib.h?ds=sidebyside diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 0e29afa623..067dea6d3a 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -48,6 +48,8 @@ #elif defined(__WINDOWS__) # include // needed to get HMODULE typedef HMODULE wxDllType; +#elif defined(__APPLE__) && defined(__UNIX__) + typedef void *wxDllType; #elif defined(__WXMAC__) typedef CFragConnectionID wxDllType; #else @@ -94,6 +96,9 @@ public: */ static void * GetSymbol(wxDllType dllHandle, const wxString &name); + // return the standard DLL extension (with leading dot) for this platform + static wxString GetDllExt(); + private: /// forbid construction of objects wxDllLoader();