X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b854b7b82e033d1dbd9d300402df50ec5e1e8b74..279ababf7baa0655a58074b868da222db7cc5a4b:/include/wx/html/helpctrl.h?ds=sidebyside diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index 8ea6bf5ad2..9263ab6026 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -54,13 +54,8 @@ class WXDLLEXPORT wxHtmlHelpController : public wxEvtHandler CreateHelpWindow(); return m_helpFrame->KeywordSearch(keyword); } wxHtmlHelpFrame* GetFrame() { return m_helpFrame; } - void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString) - { - m_Config = config; - m_ConfigRoot = rootpath; - if (m_helpFrame) m_helpFrame -> UseConfig(config, rootpath); - ReadCustomization(config, rootpath); - } + void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString); + // Assigns config object to the Ctrl. This config is then // used in subsequent calls to Read/WriteCustomization of both help // Ctrl and it's wxHtmlWindow