fixed incorrect assert (patch #943970)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-06-06 14:59:00 +00:00
parent 8ccac79865
commit e5e2612ab7

View File

@ -126,7 +126,7 @@ public:
{
Load(libname, flags);
}
~wxPluginManager() { Unload(); }
~wxPluginManager() { if ( IsLoaded() ) Unload(); }
bool Load(const wxString &libname, int flags = wxDL_DEFAULT);
void Unload();