X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainDescriptionPanel.cpp;h=71d45083aef70b6c5d22ec329196faffd1954e7d;hb=9877d27eb9a1339d97bc8e13ec5f1f75a5dc9e3f;hp=41daf68640a7484c386aba72f6255635b0e75b87;hpb=5a424b13e6083c6d64db181e5c4b3022e56193e7;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp index 41daf68..71d4508 100644 --- a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp @@ -74,11 +74,12 @@ bool wxCDMMainDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + CreateControls(); //to scroll this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - CreateControls(); + return TRUE; }