)
{
wxPanel::Create(parent,id,pos,size,style);
- // this part makes the scrollbars show up
- this->FitInside(); // ask the sizer about the needed size
- this->SetScrollRate(5, 5);
-
wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
this->SetSizer(sizer);
-
CreateControls();
+ // this part makes the scrollbars show up
+ this->FitInside(); // ask the sizer about the needed size
+ this->SetScrollRate(5, 5);
return TRUE;
}