GridBagSizer error with a hidden item
Lee Merrill
webbily1 at nc.rr.com
Sat Sep 2 19:11:36 PDT 2006
Hi everyone,
If you set up in xrced the following:
wxPanel
wxGridBagSizer
wxStaticText: 0,0
wxStaticText: 0,1 and hidden
this generates an error when you press F5 to test it: "PyAssertionError=
: C++ assertion "uiIndex < m_nCount" failed in ..\..\include\wx/dynarray.h(=
812)". This is with Python 2.4 and wxPython 2.6.3.2 on Windows XP. I google=
d for this error message and it seems it sometimes indicates a bug, but I c=
ouldn't find a description of this problem.
Putting the hidden item in a box sizer fixes the problem.
Thanks for any ideas on this,
Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200609=
02/ba421fa6/attachment.htm
More information about the wxpython-users
mailing list