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:
@@ -79,7 +79,7 @@ static bool LoadHtmlHelpLibrary()
|
|||||||
static void UnloadHtmlHelpLibrary()
|
static void UnloadHtmlHelpLibrary()
|
||||||
{
|
{
|
||||||
if ( gs_htmlHelp )
|
if ( gs_htmlHelp )
|
||||||
{
|
{
|
||||||
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
|
if (wxPluginManager::UnloadLibrary( _T("HHCTRL.OCX") ))
|
||||||
gs_htmlHelp = 0;
|
gs_htmlHelp = 0;
|
||||||
}
|
}
|
||||||
@@ -243,6 +243,7 @@ wxString wxCHMHelpController::GetValidFilename(const wxString& file) const
|
|||||||
|
|
||||||
wxCHMHelpController::~wxCHMHelpController()
|
wxCHMHelpController::~wxCHMHelpController()
|
||||||
{
|
{
|
||||||
|
gs_htmlHelp(GetSuitableHWND(), 0, HH_CLOSE_ALL, 0L);
|
||||||
UnloadHtmlHelpLibrary();
|
UnloadHtmlHelpLibrary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user