mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 03:50:06 +01:00
Merge pull request #935 from RobinD42/fix-issue918
Added wx.Treebook.GetTreeCtrl and wx.Choicebook.GetChoiceCtrl
(cherry picked from commit f85818a25d)
This commit is contained in:
@@ -30,6 +30,16 @@ class treebook_Tests(wtc.WidgetTestCase):
|
||||
book.AddSubPage(wx.Panel(book), 'three')
|
||||
|
||||
|
||||
def test_treebook4(self):
|
||||
book = wx.Treebook(self.frame)
|
||||
book.AddPage(wx.Panel(book), 'one')
|
||||
book.AddPage(wx.Panel(book), 'two')
|
||||
book.AddSubPage(wx.Panel(book), 'three')
|
||||
|
||||
tree = book.GetTreeCtrl()
|
||||
assert isinstance(tree, wx.TreeCtrl)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user