X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3379ed3789e405f874d9db757d95346f1d378795..8912d7eb182ef5a5f95026a9ed239c9ad6c75915:/src/html/helpctrl.cpp diff --git a/src/html/helpctrl.cpp b/src/html/helpctrl.cpp index e513a50f63..dbbf32c474 100644 --- a/src/html/helpctrl.cpp +++ b/src/html/helpctrl.cpp @@ -96,6 +96,8 @@ bool wxHtmlHelpController::AddBook(const wxString& book, bool show_wait_msg) if (show_wait_msg) delete busy; #endif + if (m_helpFrame) + m_helpFrame->RefreshLists(); return retval; } @@ -195,7 +197,7 @@ bool wxHtmlHelpController::DisplaySection(int sectionNo) bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& WXUNUSED(pos)) { -#if wxUSE_HELP +#if wxUSE_TIPWINDOW static wxTipWindow* s_tipWindow = NULL; if (s_tipWindow) @@ -213,7 +215,8 @@ bool wxHtmlHelpController::DisplayTextPopup(const wxString& text, const wxPoint& return TRUE; } -#endif +#endif // wxUSE_TIPWINDOW + return FALSE; }