From f32311e20c4134475d0ef6b0d06f3139d712b1d6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 7 Aug 2020 14:31:09 -0700 Subject: [PATCH] Update FIXME notes about the GridActivationResult issue --- etg/grid.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/etg/grid.py b/etg/grid.py index 61bd0cfb..3a26d62c 100644 --- a/etg/grid.py +++ b/etg/grid.py @@ -284,13 +284,17 @@ def run(): #----------------------------------------------------------------- c = module.find('wxGridActivationResult') - c.ignore() # FIXME + c.ignore() # FIXME: Remove this after switching to sip 4.19.24 c.addPrivateAssignOp() - c.instanceCode = 'sipCpp = new wxGridActivationResult::DoNothing();' + c.addPrivateDefaultCtor() + c.instanceCode = """\ + wxGridActivationResult result = wxGridActivationResult::DoNothing(); + sipCpp = &result; + """ c = module.find('wxGridActivationSource') - c.ignore() # FIXME + c.ignore() # FIXME: Remove this after switching to sip 4.19.24 c.noDefCtor = True c.addPrivateAssignOp() @@ -391,11 +395,11 @@ def run(): c.find('~wxGridCellEditor').ignore(False) c.find('Clone').factory = True tools.fixRefCountedClass(c) - c.find('TryActivate').ignore() # FIXME: remove this when the compilation issues with wxGridActivationResult is fixed + c.find('TryActivate').ignore() # FIXME: Remove this after switching to sip 4.19.24 c = module.find('wxGridCellActivatableEditor') - c.ignore() # FIXME: see above + c.ignore() # FIXME: Remove this after switching to sip 4.19.24 c = module.find('wxGridCellChoiceEditor')