mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
tests: fixup test_frame on wxGTK
This commit is contained in:
@@ -54,10 +54,13 @@ class frame_Tests(wtc.WidgetTestCase):
|
||||
f = wx.Frame(self.frame, title="Title", pos=(50,50), size=(100,100))
|
||||
f.Show()
|
||||
f.Maximize()
|
||||
self.myYield()
|
||||
self.waitFor(100)
|
||||
assert f.IsMaximized()
|
||||
f.Restore()
|
||||
self.myYield()
|
||||
if 'wxGTK' in wx.PlatformInfo:
|
||||
f.Maximize(False)
|
||||
else:
|
||||
f.Restore()
|
||||
self.waitFor(100)
|
||||
assert not f.IsMaximized()
|
||||
f.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user