corrections for final release of Mac OS X
applied patches proposed by Mark Newsam git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -247,7 +247,7 @@ wxDllLoader::LoadLibrary(const wxString & libname, bool *success)
|
||||
char zError[256] = "";
|
||||
wxDllOpen(zError, libname, handle);
|
||||
#else // !Mac
|
||||
handle = wxDllOpen(libname);
|
||||
handle = wxDllOpen((char *)libname);
|
||||
#endif // OS
|
||||
|
||||
if ( !handle )
|
||||
@@ -321,7 +321,7 @@ wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name)
|
||||
wxDllGetSymbol(dllHandle, symbol);
|
||||
#else
|
||||
// mb_str() is necessary in Unicode build
|
||||
symbol = wxDllGetSymbol(dllHandle, name.mb_str());
|
||||
symbol = wxDllGetSymbol(dllHandle, (char *)name.mb_str());
|
||||
#endif
|
||||
|
||||
if ( !symbol )
|
||||
|
Reference in New Issue
Block a user