X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMFileDescriptionPanel.cpp;h=e99603acf523f1ff414da26d0118e3ea62bb3549;hb=9877d27eb9a1339d97bc8e13ec5f1f75a5dc9e3f;hp=81768a97aaaded19ee78ee99074362f539c84998;hpb=5a424b13e6083c6d64db181e5c4b3022e56193e7;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp index 81768a9..e99603a 100644 --- a/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp @@ -75,12 +75,11 @@ bool wxCDMFileDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->file = file; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->file = file; - CreateControls(); return TRUE; }