Add the page before showing it.

This commit is contained in:
Henrik Brix Andersen 2012-07-24 00:34:57 +02:00
parent 37667d87ce
commit 642bb336eb

View File

@ -71,8 +71,8 @@ sub new {
or return;
$_->Hide for @{$self->{pages}};
$self->{sizer}->Detach(1);
$page->Show;
$self->{sizer}->Add($page, 1, wxEXPAND | wxLEFT, 5);
$page->Show;
$self->{sizer}->Layout;
$self->Refresh;
});