]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
cleanup image after application
[wxWidgets.git] / src / common / dynlib.cpp
index 32019ad7e764af9a13796365fe353f9407fe2942..95f14b9e21489322888c31eb9697d8b1209fd85e 100644 (file)
@@ -326,7 +326,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
     wxCHECK_MSG( IsLoaded(), NULL,
                  _T("Can't load symbol from unloaded library") );
 
-    bool     failed = FALSE;
+    bool     failed = false;
     void    *symbol = 0;
 
     wxUnusedVar(symbol);
@@ -383,7 +383,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
             wxLogError(wxT("%s"), err);
         }
 #else
-        failed = TRUE;
+        failed = true;
         wxLogSysError(_("Couldn't find symbol '%s' in a dynamic library"),
                       name.c_str());
 #endif