From: Gilles Depeyrot Date: Sat, 16 Aug 2003 11:58:06 +0000 (+0000) Subject: applied fixes for CodeWarrior compilation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/609533d54db83ee9d85fe7ad9589521fcf3f6be1 applied fixes for CodeWarrior compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 24592059a5..32b569ccdb 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -49,6 +49,7 @@ #elif defined(__DARWIN__) typedef void *wxDllType; #elif defined(__WXMAC__) + #include typedef CFragConnectionID wxDllType; #else #error "Dynamic Loading classes can't be compiled on this platform, sorry." diff --git a/include/wx/mac/apptrait.h b/include/wx/mac/apptrait.h index 9fb81de3ff..88b424ab1a 100644 --- a/include/wx/mac/apptrait.h +++ b/include/wx/mac/apptrait.h @@ -22,7 +22,7 @@ public: // other miscellaneous helpers // --------------------------- - virtual owxToolkitInfo& GetToolkitInfo(); + virtual wxToolkitInfo& GetToolkitInfo(); }; #if wxUSE_GUI diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 76e503b547..185e81661f 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -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__)