Allow for multiple CHM controllers in app (don't leak dynamic libs)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-11 14:15:36 +00:00
parent d8a01976c0
commit 1be9536aaa

View File

@@ -80,9 +80,8 @@ static void UnloadHtmlHelpLibrary()
{
if ( gs_htmlHelp )
{
wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") );
gs_htmlHelp = 0;
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
gs_htmlHelp = 0;
}
}