From 54c398374e4f7f47af6f59a251619218121eb4b3 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Fri, 11 Jul 2025 09:51:37 -0400 Subject: [PATCH] Mark wx.SystemSettings.GetAppearance() as requiring wx.App This avoids crashing when calling this method without a wx.App instance. Fixes: https://github.com/wxWidgets/Phoenix/issues/2771 --- etg/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/etg/settings.py b/etg/settings.py index b6738e15..e46a3d23 100644 --- a/etg/settings.py +++ b/etg/settings.py @@ -40,6 +40,7 @@ def run(): c.find('GetMetric').mustHaveApp() c.find('HasFeature').mustHaveApp() c.find('GetScreenType').mustHaveApp() + c.find('GetAppearance').mustHaveApp() c = module.find('wxSystemAppearance')