X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMBlackBoxDescriptionPanel.cpp;h=b694aee05b7c3b033917157b1424f2619e117b02;hb=dd9de710df141a074f10d0cab27b217425ecab20;hp=c562ef74054392b4e6c70c6b3ca60baa5057d228;hpb=71c071fbb1e2af618f6caa489351b966e1a54b1a;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; }