git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !symbol )
{
- wxString msg(_("wxDllLoader failed to GetSymbol '%s'"));
-
#ifdef HAVE_DLERROR
const wxChar *err = dlerror();
if( err )
{
failed = TRUE;
wxLogError( msg, err );
+ wxLogError(_("Couldn't find symbol '%s' in a dynamic library"),
+ err);
}
#else
failed = TRUE;
if ( !symbol )
{
- wxString msg(_("wxDynamicLibrary failed to GetSymbol '%s'"));
#if defined(HAVE_DLERROR) && !defined(__EMX__)
#if wxUSE_UNICODE
if( err )
{
failed = TRUE;
- wxLogError( msg, err );
+ wxLogError(_("Couldn't find symbol '%s' in a dynamic library"),
+ err);
}
#else
failed = TRUE;