]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynload.cpp
Take into account icon mask in wxStaticBitmap
[wxWidgets.git] / src / common / dynload.cpp
index f330d816656a8d467458040f35fbc43b6f3c218e..daf499db9890cd5ae7b990a8c4802bda7c05d55c 100644 (file)
@@ -657,7 +657,7 @@ void wxPluginManager::Unload()
 
 #if WXWIN_COMPATIBILITY_2_2
 
-wxDllType wxDllLoader::LoadLibrary(const wxString &name)
+wxDllType wxDllLoader::LoadLibrary(const wxString &name, bool *success)
 {
     wxPluginLibrary *p = wxPluginManager::LoadLibrary
                          (
@@ -665,6 +665,9 @@ wxDllType wxDllLoader::LoadLibrary(const wxString &name)
                             wxDL_DEFAULT | wxDL_VERBATIM | wxDL_NOSHARE
                          );
 
+    if ( success )
+        *success = p != NULL;
+
     return p ? p->GetLibHandle() : 0;
 }