mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-16 13:40:08 +01:00
Fix crash when running event tests
HelpEvent requires a wx.App to exist, at least on GTK as it ultimately fetches the root window.
This commit is contained in:
@@ -45,6 +45,7 @@ class Events(unittest.TestCase):
|
||||
evt = wx.FocusEvent()
|
||||
|
||||
def test_HelpEvent_ctor(self):
|
||||
app = wx.App()
|
||||
evt = wx.HelpEvent()
|
||||
|
||||
def test_IconizeEvent_ctor(self):
|
||||
|
||||
Reference in New Issue
Block a user