Don't remove wxPropertyGrid virtuals when calling fixWindowClass

Fixes #1765
This commit is contained in:
Scott Talbert
2020-08-13 17:24:40 -04:00
parent 57702fa7df
commit 92b2378548

View File

@@ -42,7 +42,7 @@ def run():
c = module.find('wxPropertyGrid')
assert isinstance(c, etgtools.ClassDef)
c.bases[0] = 'wxControl' # sip can't handle wxScrolled<wxControl>. See also below.
tools.fixWindowClass(c)
tools.fixWindowClass(c, False)
module.addGlobalStr('wxPropertyGridNameStr', c)
for name in ['RegisterEditorClass', 'DoRegisterEditorClass']: