maybe you forgot to call $parentwin->Layout; i prefer also constant wxSP_LIVE_UPDATE
hope it helpes > I have a SplitterWindow created like this: > > my $sw = Wx::SplitterWindow->new( > $self, > -1, > Wx::wxDefaultPosition, > Wx::wxDefaultSize, > Wx::wxNO_FULL_REPAINT_ON_RESIZE | Wx::wxCLIP_CHILDREN, > ); > > $sw->SplitVertically( > $left_side, > $right_side, > $self->window_width - 200, > ); > > > $sw->GetSashPosition returns 0 before I call SplitVertically and after > that it > keeps returning 15 no matter what value I give to SetSashPosition. > > Besides SetSashPosition seems to disregard the second parameter I gave it. > I tried > $sw->SetSashPosition(100) > $sw->SetSashPosition(100, undef) > $sw->SetSashPosition(100, 0) > $sw->SetSashPosition(100, 1) > > it kept changing the location of the split even thought as I understand it > should > not refresh unless the second parameter is true. > > I don't really need any of these as I fixed my code in other way but someone > > who understands this might want to take a look at the binding. > > The code is in http://svn.perlide.org/padre/trunk/lib/Padre/Wx/MainWindow.pm > > regards > Gabor > > ________________________________________________________________________ Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele: http://games.entertainment.web.de/de/entertainment/games/free/index.html