X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed8c374dd72b5b943ff83780664aff6021dd3474..e828d3fc808bf4b76e256afe8da5d268fb684735:/src/html/helpwnd.cpp diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 7dc36c785e..778594052f 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -592,6 +592,9 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id, wxHtmlHelpWindow::~wxHtmlHelpWindow() { + if ( m_helpController ) + m_helpController->SetHelpWindow(NULL); + delete m_mergedIndex; // PopEventHandler(); // wxhtmlhelpcontroller (not any more!)