Add wx.Choicebook, wx.Listbook, wx.Toolbook and wx.Treebook

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-06-20 17:10:42 +00:00
parent cb545458a8
commit f0924fce36
11 changed files with 403 additions and 7 deletions

View File

@@ -0,0 +1,37 @@
import imp_unittest, unittest
import wtc
import wx
#---------------------------------------------------------------------------
class choicebk_Tests(wtc.WidgetTestCase):
def test_choicebk1(self):
wx.CHB_DEFAULT
wx.CHB_TOP
wx.CHB_BOTTOM
wx.CHB_LEFT
wx.CHB_RIGHT
wx.CHB_ALIGN_MASK
wx.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
wx.wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
wx.EVT_CHOICEBOOK_PAGE_CHANGED
wx.EVT_CHOICEBOOK_PAGE_CHANGING
def test_choicebk2(self):
book = wx.Choicebook()
book.Create(self.frame)
def test_choicebk3(self):
book = wx.Choicebook(self.frame)
book.AddPage(wx.Panel(book), 'one')
book.AddPage(wx.Panel(book), 'two')
#---------------------------------------------------------------------------
if __name__ == '__main__':
unittest.main()