From: Stefan Csomor Date: Fri, 18 Jun 2004 07:15:28 +0000 (+0000) Subject: removed use of p2cstr X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fb44fc34e84aa9338d159bb3e2485f8647b78e60 removed use of p2cstr git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }