|
From: Mattia B. <mb...@ds...> - 2002-04-29 08:26:28
|
On Sun, 28 Apr 2002, Dave Roe wrote:
>I agree, it's not the best way to go, but the question has come up again
>for another reason now.
>
>if I have an object derived from Wx::Frame which contains a
>Wx::SplitterWindow, the splitter is correctly sized inside the frame
>upon window resize. however, if i trap the frame resize using
>EVT_SIZE(), the default splitter resizing doesn't happen.
>
>how can I trap the event for notification purposes, yet call the default
>behaviour first?
>
>sub OnSize {
> my ($self,$event) = @_;
>
> # call default behaviour
> $event->Handle();
>
> # respond to resize
> $self->DoOtherStuffWhenResized();
$event->Skip();
>}
HTH
Mattia
|