]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
new bitmap creation code for mac
[wxWidgets.git] / include / wx / dynlib.h
index d6ed0876bc84f65af621af670b0fae81065445bd..a3c4f2d98b0fd9ed06bf9982cf1cb17897894cbf 100644 (file)
@@ -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; }