X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eccc0c485e57fe27fc56673f4f4dd191a09b2e6..4c200e8d87728306b219822d9c07e28526cd8649:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index 240c4e0c55..51c0a13359 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -279,7 +279,6 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const if ( !symbol ) { - wxString msg(_("wxDynamicLibrary failed to GetSymbol '%s'")); #if defined(HAVE_DLERROR) && !defined(__EMX__) #if wxUSE_UNICODE @@ -291,8 +290,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const if( err ) { - failed = TRUE; - wxLogError( msg, err ); + wxLogError(wxT("%s"), err); } #else failed = TRUE;