[wxPython-users] ANN: FlatNotebook Control For wxPython ;-)
Hugh Gibson
hgibson at cix.co.uk
Tue Oct 3 01:02:00 PDT 2006
In the demo for the flat note book, if you select Edit | Use Bottom Tabs immediately after opening the app, you get this exception:
Traceback (most recent call last):
File "D:\abling\Packages\wxPython\Flatnotebook\FlatNotebookDemo.py", line 378,
in OnStyle
self.book.SetWindowStyleFlag(style)
File "D:\abling\Packages\wxPython\Flatnotebook\FlatNotebook.py", line 1337, in
SetWindowStyleFlag
self.SetSelection(self._pages._iActivePage)
File "D:\abling\Packages\wxPython\Flatnotebook\FlatNotebook.py", line 1099, in
SetSelection
if not self._pages.GetEnabled(page) and len(self._windows) > 1 and not self.
_bForceSelection:
File "D:\abling\Packages\wxPython\Flatnotebook\FlatNotebook.py", line 2987, in
GetEnabled
return self._pagesInfoVec[page].GetEnabled()
IndexError: list index out of range
Hugh
More information about the wxpython-users
mailing list