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:
@@ -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."
|
||||||
|
@@ -22,7 +22,7 @@ public:
|
|||||||
// other miscellaneous helpers
|
// other miscellaneous helpers
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
|
|
||||||
virtual owxToolkitInfo& GetToolkitInfo();
|
virtual wxToolkitInfo& GetToolkitInfo();
|
||||||
};
|
};
|
||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
@@ -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__)
|
||||||
|
Reference in New Issue
Block a user