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
This commit is contained in:
Scott Talbert
2025-07-11 09:51:37 -04:00
parent 1327ebdef9
commit 54c398374e

View File

@@ -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')