#endif
#include "wx/msw/private.h"
-#include "wx/msw/missing.h"
+#include "wx/msw/htmlhelp.h"
// ----------------------------------------------------------------------------
// utility functions to manage the loading/unloading
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();
}