]> git.saurik.com Git - wxWidgets.git/commitdiff
applied fixes for CodeWarrior compilation
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 16 Aug 2003 11:58:06 +0000 (11:58 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 16 Aug 2003 11:58:06 +0000 (11:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dynlib.h
include/wx/mac/apptrait.h
src/common/dynlib.cpp

index 24592059a55165fc9f41021076aae1655d0ddcdc..32b569ccdb557d804503a09ad74bcbaea48ab692 100644 (file)
@@ -49,6 +49,7 @@
 #elif defined(__DARWIN__)
     typedef void               *wxDllType;
 #elif defined(__WXMAC__)
+    #include <CodeFragments.h>
     typedef CFragConnectionID   wxDllType;
 #else
     #error "Dynamic Loading classes can't be compiled on this platform, sorry."
index 9fb81de3ff15c0f03cc48b7450054fe0af0bb413..88b424ab1adb3de8a0851193ba3f8471225f2f9c 100644 (file)
@@ -22,7 +22,7 @@ public:
     // other miscellaneous helpers
     // ---------------------------
 
-    virtual owxToolkitInfo& GetToolkitInfo();
+    virtual wxToolkitInfo& GetToolkitInfo();
 };
 
 #if wxUSE_GUI
index 76e503b5479f3e1c52c8836ad57871de3bd619f2..185e81661f281dda4d88f78c8e2d420683a5de8a 100644 (file)
@@ -336,7 +336,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
     strcpy( (char *)symName, name );
     c2pstr( (char *)symName );
 #endif
-    if( FindSymbol( dllHandle, symName, &symAddress, &symClass ) == noErr )
+    if( FindSymbol( m_handle, symName, &symAddress, &symClass ) == noErr )
         symbol = (void *)symAddress;
 
 #elif defined(__WXPM__) || defined(__EMX__)