From b0436ce02edc4ea86c99a0dd36e57ae0c83b96e0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 12 Feb 2019 15:30:18 -0800 Subject: [PATCH] Fix the use of the output parameter in HtmlWindow.OnOpeningURL the same way it was fixed in HtmlWindowInterface.OnHTMLOpeningURL. --- CHANGES.rst | 3 +++ etg/htmlwin.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 21925df0..a1e742fe 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -28,6 +28,9 @@ Changes in this release include the following: * Updated wxWidgets commit reference, bringing fixes for #1140, #1086 and #1147. +* Fix the use of the output parameter in HtmlWindow.OnOpeningURL the same way + it was fixed in HtmlWindowInterface.OnHTMLOpeningURL. (#1068) + diff --git a/etg/htmlwin.py b/etg/htmlwin.py index 2894999f..38cd5e27 100644 --- a/etg/htmlwin.py +++ b/etg/htmlwin.py @@ -48,6 +48,8 @@ def run(): tools.fixHtmlSetFonts(c) c.find('AddFilter.filter').transfer = True + c.find('OnOpeningURL.redirect').out = True + c.find('OnOpeningURL.redirect').name = 'redirectTo' # Turn the virtual flag back on for some methods for name in [ 'OnLinkClicked',