applied fixes for CodeWarrior compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2003-08-16 11:58:06 +00:00
parent 77762d0f1e
commit 609533d54d
3 changed files with 3 additions and 2 deletions

View File

@@ -49,6 +49,7 @@
#elif defined(__DARWIN__) #elif defined(__DARWIN__)
typedef void *wxDllType; typedef void *wxDllType;
#elif defined(__WXMAC__) #elif defined(__WXMAC__)
#include <CodeFragments.h>
typedef CFragConnectionID wxDllType; typedef CFragConnectionID wxDllType;
#else #else
#error "Dynamic Loading classes can't be compiled on this platform, sorry." #error "Dynamic Loading classes can't be compiled on this platform, sorry."

View File

@@ -22,7 +22,7 @@ public:
// other miscellaneous helpers // other miscellaneous helpers
// --------------------------- // ---------------------------
virtual owxToolkitInfo& GetToolkitInfo(); virtual wxToolkitInfo& GetToolkitInfo();
}; };
#if wxUSE_GUI #if wxUSE_GUI

View File

@@ -336,7 +336,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
strcpy( (char *)symName, name ); strcpy( (char *)symName, name );
c2pstr( (char *)symName ); c2pstr( (char *)symName );
#endif #endif
if( FindSymbol( dllHandle, symName, &symAddress, &symClass ) == noErr ) if( FindSymbol( m_handle, symName, &symAddress, &symClass ) == noErr )
symbol = (void *)symAddress; symbol = (void *)symAddress;
#elif defined(__WXPM__) || defined(__EMX__) #elif defined(__WXPM__) || defined(__EMX__)