Re: wxNotebook and DeleteAllPages()

ABC <[email protected]> Sun, 8 Jul 2018 10:16:18 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hello Robin,

Has this been fixed yet?
If I do "notebook.DeleteAllPages()", and afterward do "notebook.AddPage"
under 32-bit Windows 7, Python 3.6.5, wxPython 4.0.3, I get:

wx._core.wxAssertionError: C++ assertion "(int)m_pages.Count() == 
(int)::SendMessageW((((HWND)GetHWND())), (0x1300 + 4), 0, 0L)" failed at 
..\..\src\msw\notebook.cpp(343) in wxNotebook::GetPageCount():

No error if I use your workaround, and delete one page at a time.

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.