]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynload.cpp
added init.cpp
[wxWidgets.git] / src / common / dynload.cpp
index 97e6e5e83607cd3f36692e3e4253e2b74e8a5591..437f341c6ae32914e56dbe948b07be4253b6a2c9 100644 (file)
@@ -7,7 +7,7 @@
 // Created:      03/12/01
 // RCS-ID:       $Id$
 // Copyright:    (c) 2001 Ron Lee <ron@debian.org>
-// Licence:      wxWindows license
+// Licence:      wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -290,9 +290,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
 
         if( err )
         {
-            failed = TRUE;
-            wxLogError(_("Couldn't find symbol '%s' in a dynamic library"),
-                       err);
+            wxLogError(wxT("%s"), err);
         }
 #else
         failed = TRUE;
@@ -667,7 +665,7 @@ void wxPluginManager::Unload()
         if ( i->second == m_entry )
         {
             ms_manifest->erase(i);
-            return;
+            break;
         }
     }