possible fix for SF bug #1186144 (only VC tested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1b75cbf9b3
commit
c8200b5a5e
@ -79,7 +79,7 @@ static bool LoadHtmlHelpLibrary()
|
||||
static void UnloadHtmlHelpLibrary()
|
||||
{
|
||||
if ( gs_htmlHelp )
|
||||
{
|
||||
{
|
||||
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
|
||||
gs_htmlHelp = 0;
|
||||
}
|
||||
@ -243,6 +243,7 @@ wxString wxCHMHelpController::GetValidFilename(const wxString& file) const
|
||||
|
||||
wxCHMHelpController::~wxCHMHelpController()
|
||||
{
|
||||
gs_htmlHelp(GetSuitableHWND(), 0, HH_CLOSE_ALL, 0L);
|
||||
UnloadHtmlHelpLibrary();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user