Frame Resize

Brian Wolf wrote:

I've a frame that contains a splitter window, a toolbar and a statusbar. When I bind an EVT_SIZE event to the frame, the frame's layout is messed up -- the splitter window has encroached onto toolbar (and hides the bottom half of the icons).

How is this fixed?

The default layout happens in the default EVT_SIZE handler, which you have intercepted. If you still want the default handler to be called then you need to call event.Skip() to tell the event processor to keep looking for another handler.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!