]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynload.cpp
moving string conversions at one place
[wxWidgets.git] / src / common / dynload.cpp
index 240c4e0c557a8881bad127682f2bcf5636b2fb3e..51c0a1335901f1ede3ee4d9088c0536544bec0bc 100644 (file)
@@ -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;