X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4414c1f3778c54fb0ddfd2eea63f940bbee6d0f..f5526d3613532a662f65b108007e5fef14c2e940:/include/wx/html/helpctrl.h diff --git a/include/wx/html/helpctrl.h b/include/wx/html/helpctrl.h index b052c83e94..4a247371a1 100644 --- a/include/wx/html/helpctrl.h +++ b/include/wx/html/helpctrl.h @@ -70,6 +70,7 @@ class WXDLLEXPORT wxHtmlHelpController : public wxHelpControllerBase // wxEvtHan virtual void SetViewer(const wxString& WXUNUSED(viewer), long WXUNUSED(flags) = 0) {} virtual bool LoadFile(const wxString& file = ""); virtual bool DisplaySection(int sectionNo); + virtual bool DisplaySection(const wxString& section) { return Display(section); } virtual bool DisplayBlock(long blockNo) { return DisplaySection(blockNo); } virtual void SetFrameParameters(const wxString& title, const wxSize& size,