X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..10769d8c47c21fe0ec5034726791a5ad4cf19475:/include/wx/dynlib.h?ds=sidebyside diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index d6ed0876bc..a3c4f2d98b 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -55,7 +55,7 @@ #elif defined(__DARWIN__) typedef void *wxDllType; #elif defined(__WXMAC__) - typedef CFragConnectionID wxDllType; + typedef void *wxDllType; #else # error "wxLibrary can't be compiled on this platform, sorry." #endif // OS @@ -113,7 +113,9 @@ public: Returns the pointer to the symbol or NULL on error. */ - static void *GetSymbol(wxDllType dllHandle, const wxString &name, bool success = 0); + static void *GetSymbol(wxDllType dllHandle, + const wxString &name, + bool *success = NULL); // return the standard DLL extension (with leading dot) for this platform static const wxString &GetDllExt() { return ms_dllext; }