static void UnloadHtmlHelpLibrary()
{
if ( gs_htmlHelp )
- {
+ {
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
gs_htmlHelp = 0;
}
wxCHMHelpController::~wxCHMHelpController()
{
+ gs_htmlHelp(GetSuitableHWND(), 0, HH_CLOSE_ALL, 0L);
UnloadHtmlHelpLibrary();
}