mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Fix helpdlg test
Dialog needs to be created before trying to destroy it.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user