I was getting Windows (bad pointer?) exceptions after doing a DeleteAllPages on a ListBook, also the dreaded "uiIndex < m_nCount" failed in ..\..\include\wx/dynarray.h" error (depending on what I had tried, to fix this), and changing to:
while ml.GetPageCount():
ml.DeletePage(0)
seems to have fixed the problem.
Just FYI,
Lee
P.S. This was with wxPython 2.6.3.2 and Python 2.4 on Windows XP, and the ListBook was in LB_TOP mode with images.
Hi everyone,
I was getting Windows (bad pointer?) exceptions after doing a DeleteAllPages on a ListBook, also the dreaded "uiIndex < m_nCount" failed in ..\..\include\wx/dynarray.h" error (depending on what I had tried, to fix this), and changing to:
while ml.GetPageCount():
ml.DeletePage(0)
seems to have fixed the problem.
Just FYI,
Lee
P.S. This was with wxPython 2.6.3.2 and Python 2.4 on Windows XP, and the ListBook was in LB_TOP mode with images.
Thanks. I think this has already been fixed in the current CVS.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!