Fix helpdlg test

Dialog needs to be created before trying to destroy it.
This commit is contained in:
Scott Talbert
2016-08-10 23:44:32 -04:00
parent 0a80536c8b
commit 86c7ed3170

View File

@@ -15,6 +15,7 @@ class helpdlg_Tests(wtc.WidgetTestCase):
data.AddBook(os.path.join(helpPath, 'testing.hhp'))
data.AddBook(os.path.join(helpPath, 'another.hhp'))
dlg = wx.html.HtmlHelpDialog(data)
dlg.Create(self.frame)
self.myYield()
dlg.Destroy()