From 5ab7848288a367b78fedbe481dba3300949b20a7 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 5 Sep 2019 19:49:44 -0700 Subject: [PATCH] Keep a reference to the data parameter in wxFindReplaceDialog ctor --- etg/fdrepdlg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etg/fdrepdlg.py b/etg/fdrepdlg.py index 455f4e5e..a138c0b0 100644 --- a/etg/fdrepdlg.py +++ b/etg/fdrepdlg.py @@ -54,7 +54,7 @@ def run(): c = module.find('wxFindReplaceDialog') tools.fixTopLevelWindowClass(c) - + c.find('wxFindReplaceDialog.data').keepReference = True #----------------------------------------------------------------- tools.doCommonTweaks(module)