]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / wxCDMBlackBoxDescriptionPanel.cpp
index c562ef74054392b4e6c70c6b3ca60baa5057d228..b694aee05b7c3b033917157b1424f2619e117b02 100644 (file)
@@ -78,14 +78,12 @@ bool wxCDMBlackBoxDescriptionPanel::Create(
     long style
 )
 {
+  this->blackBox = blackBox;
   wxPanel::Create(parent, id, pos, size, style);
-
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->blackBox = blackBox;
-  CreateControls();
   return TRUE;
 }