]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
support for using DIBs for wxBitmap implementation (patch 649866)
[wxWidgets.git] / include / wx / dynlib.h
index 56fd795c0b659b8c67b2079d3e5e524797c1b295..6dd60bf12f377744daf1d4f59fc27cbdd1722010 100644 (file)
@@ -12,8 +12,8 @@
 #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"
@@ -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