X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fccb5b4fd8fa0ff14e14002cfa95859c9b30708..f7ff39c6ac67b995c13900af1b6a4b32e8c7f9f2:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 88f4b124bb..32019ad7e7 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -212,10 +212,9 @@ bool wxDynamicLibrary::Load(wxString libname, int flags) &myMainAddr, myErrName ) != noErr ) { - p2cstr( myErrName ); wxLogSysError( _("Failed to load shared library '%s' Error '%s'"), libname.c_str(), - (char*)myErrName ); + wxMacMakeStringFromPascal( myErrName ).c_str() ); m_handle = 0; }