X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMBlackBoxDescriptionPanel.cpp;h=b694aee05b7c3b033917157b1424f2619e117b02;hb=9877d27eb9a1339d97bc8e13ec5f1f75a5dc9e3f;hp=c562ef74054392b4e6c70c6b3ca60baa5057d228;hpb=5a424b13e6083c6d64db181e5c4b3022e56193e7;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp index c562ef7..b694aee 100644 --- a/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp @@ -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; }