[wxPython] wxGrid dislay

[NT 4.0 sp 5, wxPython 2.1.16]

wxGrid doesn't display itself in the wxFrame (only some junk in the top
left corner), after resizing the frame it's displayed correctly.

Any ideas why this happens ?

···

--
Przemyslaw G. Gawronski
UIN:8358522
mailto:gawronskip@usa.net
mailto:gawron@obop.com.pl

wxGrid doesn't display itself in the wxFrame (only some junk in the top
left corner), after resizing the frame it's displayed correctly.

Any ideas why this happens ?

This can sometimes happen if the initial size event happens before the child
window is created. Try setting the size of the frame after the grid has
been created and see if that makes a difference. You may have to actually
change the size a bit, not just set the same size again.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!