]> Creatis software - crea.git/commitdiff
Feature #1711 CreaDevManager application implementation
authorunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Tue, 16 Apr 2013 16:39:17 +0000 (18:39 +0200)
committerunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Tue, 16 Apr 2013 16:39:17 +0000 (18:39 +0200)
Fix: Welcome buttons not showing on launch

13 files changed:
lib/creaDevManagerLib/wxCDMAppliDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMCMakeListsDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMFolderDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMLibDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMLibraryDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp
lib/creaDevManagerLib/wxCDMPackageManagerPanel.cpp
lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp
lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp

index 710d1ee..ac06179 100644 (file)
@@ -80,13 +80,11 @@ bool wxCDMAppliDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
-
+  this->appli = appli;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->appli = appli;
-  CreateControls();
   return TRUE;
 }
 
index 00cf8cc..dd48c2a 100644 (file)
@@ -82,13 +82,11 @@ bool wxCDMApplicationDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
-
+  this->application = application;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->application = application;
-  CreateControls();
   return TRUE;
 }
 
index c562ef7..b694aee 100644 (file)
@@ -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;
 }
 
index 40c2c33..ea0d465 100644 (file)
@@ -73,11 +73,11 @@ bool wxCDMCMakeListsDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->cMakeLists = makefile;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-  this->cMakeLists = makefile;
-  CreateControls();
   return TRUE;
 }
 
index 81768a9..e99603a 100644 (file)
@@ -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;
 }
 
index 7f95533..2f1c181 100644 (file)
@@ -76,12 +76,11 @@ bool wxCDMFolderDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->folder = folder;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->folder = folder;
-  CreateControls();
   return TRUE;
 }
 
index 039c45a..5a71470 100644 (file)
@@ -78,12 +78,11 @@ bool wxCDMLibDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->lib = lib;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->lib = lib;
-  CreateControls();
   return TRUE;
 }
 
index 8c76721..42f58fe 100644 (file)
@@ -81,12 +81,11 @@ bool wxCDMLibraryDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->library = library;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->library = library;
-  CreateControls();
   return TRUE;
 }
 
index 41daf68..71d4508 100644 (file)
@@ -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;
 }
 
index 5ac4691..6858c55 100644 (file)
@@ -89,12 +89,11 @@ bool wxCDMPackageDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->package = package;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->package = package;
-  CreateControls();
   return TRUE;
 }
 
index a706c17..c7d0d77 100644 (file)
@@ -80,12 +80,11 @@ bool wxCDMPackageManagerPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->project = project;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->project = project;
-  CreateControls();
   return TRUE;
 }
 
index 5b5510e..35a98be 100755 (executable)
@@ -75,14 +75,12 @@ bool wxCDMProjectActionsPanel::Create(
 )
 {
   wxPanel::Create(parent,id,pos,size,style);
-  // this part makes the scrollbars show up
-  this->FitInside(); // ask the sizer about the needed size
-  this->SetScrollRate(5, 5);
-
   wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
   this->SetSizer(sizer);
-
   CreateControls();
+  // this part makes the scrollbars show up
+  this->FitInside(); // ask the sizer about the needed size
+  this->SetScrollRate(5, 5);
 
   return TRUE;
 }
index 503d511..844d8cb 100644 (file)
@@ -81,12 +81,11 @@ bool wxCDMProjectDescriptionPanel::Create(
 )
 {
   wxPanel::Create(parent, id, pos, size, style);
+  this->project = project;
+  CreateControls();
   // this part makes the scrollbars show up
   this->FitInside(); // ask the sizer about the needed size
   this->SetScrollRate(5, 5);
-
-  this->project = project;
-  CreateControls();
   return TRUE;
 }