* Add missing BookCtrl and Notebook constants and Notebook event binders.

* Add a wx.BookCtrl and binder aliases (set to wx.Notebook) since it is mentioned in the notebook overview.
* update unittests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-06-20 17:10:29 +00:00
parent 01296cf8cb
commit cb545458a8
4 changed files with 61 additions and 3 deletions

View File

@@ -31,6 +31,11 @@ class notebook_Tests(wtc.WidgetTestCase):
wx.NB_HITTEST_ONITEM
wx.NB_HITTEST_ONPAGE
def test_notebookEventTypes(self):
wx.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
wx.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
wx.EVT_NOTEBOOK_PAGE_CHANGED
wx.EVT_NOTEBOOK_PAGE_CHANGING
def test_notebookPages(self):
nb = wx.Notebook(self.frame, style=wx.NB_BOTTOM)