diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index 30dcac00de..2505276714 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -51,7 +51,7 @@ class WXDLLEXPORT wxHtmlHelpController : public wxEvtHandler } bool KeywordSearch(const wxString& keyword) { - CreateHelpWindow(); return KeywordSearch(keyword); + CreateHelpWindow(); return m_helpFrame->KeywordSearch(keyword); } wxHtmlHelpFrame* GetFrame() { return m_helpFrame; } void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString)