From 2f4c7fb02384ea57a98c9c48c612f290d2359da4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 21 Jun 2017 19:02:25 -0700 Subject: [PATCH] Mark the GetFile methods in the handler classes as factories --- etg/webview.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etg/webview.py b/etg/webview.py index fc8057aa..cf045c94 100644 --- a/etg/webview.py +++ b/etg/webview.py @@ -131,6 +131,13 @@ def run(): tools.addAutoProperties(c) + for name in [ 'wxWebViewHandler', + 'wxWebViewArchiveHandler', + 'wxWebViewFSHandler' ]: + c = module.find(name) + c.find('GetFile').factory = True + + #----------------------------------------------------------------- tools.doCommonTweaks(module) tools.runGenerators(module)