mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-20 20:21:09 +02:00
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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user