]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
applied patch 410892 (wxCopyFile uses ::CopyFile under Win32, has overwrite parameter)
[wxWidgets.git] / include / wx / dynlib.h
index 0e29afa623c5965dde6dc4ab96bb7a39d50af114..067dea6d3ac7c0fd0fafffde0ab58bf4346bc96c 100644 (file)
@@ -48,6 +48,8 @@
 #elif defined(__WINDOWS__)
 #   include <windows.h>         // 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();