X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMProjectActionsPanel.cpp;h=35a98be2edae555c1206e95872204c6e0dca11b9;hb=9877d27eb9a1339d97bc8e13ec5f1f75a5dc9e3f;hp=5b5510e77a9568c4a241d90952ee932a221652d1;hpb=5a424b13e6083c6d64db181e5c4b3022e56193e7;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp b/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp index 5b5510e..35a98be 100755 --- a/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp @@ -75,14 +75,12 @@ bool wxCDMProjectActionsPanel::Create( ) { 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; }