X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMMainDescriptionPanel.cpp;h=71d45083aef70b6c5d22ec329196faffd1954e7d;hb=67757af5e4c42450a232987519be5daa2d8b6654;hp=41daf68640a7484c386aba72f6255635b0e75b87;hpb=71c071fbb1e2af618f6caa489351b966e1a54b1a;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; }