From 4b39ae25af2e75dbee55f47f651491adcd96d207 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 12 Feb 2019 17:34:58 -0800 Subject: [PATCH] Merge pull request #1167 from RobinD42/fix-issue1068 Fix the use of the output parameter in HtmlWindow.OnOpeningURL (cherry picked from commit c201f558bd21d0aecb333f49a606d26491b0bb88) --- CHANGES.rst | 3 +++ etg/htmlwin.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index ef9db2eb..f8c83f4b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -59,6 +59,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',