From 21aec19da675776d77ab78e5b7546dca30ac61f5 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 28 Aug 2023 23:00:47 -0400 Subject: [PATCH] Allow overriding wxSizer.InformFirstDirection() It seems this is required in order to implement a non-trivial custom Sizer. Fixes #2452. --- etgtools/tweaker_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/etgtools/tweaker_tools.py b/etgtools/tweaker_tools.py index 5b76888e4..bdaf35bb6 100644 --- a/etgtools/tweaker_tools.py +++ b/etgtools/tweaker_tools.py @@ -331,6 +331,7 @@ def fixSizerClass(klass): removeVirtuals(klass) klass.find('CalcMin').isVirtual = True klass.find('RepositionChildren').isVirtual = True + klass.find('InformFirstDirection').isVirtual = True # in the wxSizer class it is pure-virtual if klass.name == 'wxSizer':