]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / wxCDMProjectActionsPanel.cpp
index 5b5510e77a9568c4a241d90952ee932a221652d1..35a98be2edae555c1206e95872204c6e0dca11b9 100755 (executable)
@@ -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;
 }