Merge pull request #139 from swt2c/fix_flatmenu_test

Fix lib_agw_flatmenu test
This commit is contained in:
Robin Dunn
2016-08-15 23:15:42 -07:00
committed by GitHub

View File

@@ -62,6 +62,7 @@ class lib_agw_flatmenu_Tests(wtc.WidgetTestCase):
fPt = self.frame.GetPosition()
popMenu.Popup(wx.Point(fPt.x, fPt.y), self.frame)
popMenu.Dismiss(True, True)
# Clear the capture since the test won't do a normal shudown of the flatmenu
cap = wx.Window.GetCapture()