From c7a6d16793bb07484e3f334baac80c88fcfb9b59 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 5 Mar 2020 09:54:37 -0800 Subject: [PATCH] Inform SIP about the pure virtuals implemented in HtmlHelpController --- etg/helpctrl.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/etg/helpctrl.py b/etg/helpctrl.py index 09e9d168..f9c65343 100644 --- a/etg/helpctrl.py +++ b/etg/helpctrl.py @@ -41,11 +41,23 @@ def run(): c.find('CreateHelpFrame').ignore(False) c.addItem(etgtools.WigCode("""\ + public: // Add implementations for the pure virtuals in the base class - virtual bool DisplayBlock(long blockNo); + virtual bool Initialize(const wxString& file, int server); + virtual bool Initialize(const wxString& file); + virtual void SetViewer(const wxString& viewer, long flags = 0); + virtual bool LoadFile(const wxString& file = ""); virtual bool DisplaySection(int sectionNo); - virtual bool LoadFile(const wxString& file = wxEmptyString); + virtual bool DisplaySection(const wxString& section); + virtual bool DisplayBlock(long blockNo); + virtual bool DisplayTextPopup(const wxString& text, const wxPoint& pos); virtual bool Quit(); + virtual void OnQuit(); + + virtual void SetFrameParameters(const wxString& titleFormat, + const wxSize& size, + const wxPoint& pos = wxDefaultPosition, + bool newFrameEachTime = false); """)) #-----------------------------------------------------------------