From 92b2378548cbbd6c366dd4d8f2f0ec286cfd29a0 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 13 Aug 2020 17:24:40 -0400 Subject: [PATCH] Don't remove wxPropertyGrid virtuals when calling fixWindowClass Fixes #1765 --- etg/propgrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etg/propgrid.py b/etg/propgrid.py index 048451ac..dcadda62 100644 --- a/etg/propgrid.py +++ b/etg/propgrid.py @@ -42,7 +42,7 @@ def run(): c = module.find('wxPropertyGrid') assert isinstance(c, etgtools.ClassDef) c.bases[0] = 'wxControl' # sip can't handle wxScrolled. See also below. - tools.fixWindowClass(c) + tools.fixWindowClass(c, False) module.addGlobalStr('wxPropertyGridNameStr', c) for name in ['RegisterEditorClass', 'DoRegisterEditorClass']: