]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCDMProjectDescriptionPanel.cpp
index 1bc58e291b3f1abcec70838f946873a9ee655d88..4d7679b7afea14787dee5d13a85f60d648f3747f 100644 (file)
@@ -37,6 +37,8 @@
 #include "wxCDMMainFrame.h"
 #include "wxCDMNewPackageDialog.h"
 
+#include "wxCDMProjectHelpDialog.h"
+
 #include "creaDevManagerIds.h"
 #include "images/PrIcon64.xpm"
 #include "CDMUtilities.h"
@@ -208,6 +210,17 @@ void wxCDMProjectDescriptionPanel::CreateControls()
   //Assign sizer
   this->SetSizer(sizer);
   sizer->SetSizeHints(this);
+
+  if(((wxCDMMainFrame*)this->GetParent())->isHelp())
+    {
+      wxCDMProjectHelpDialog* helpDialog = new wxCDMProjectHelpDialog(this->GetParent(), this, wxID_ANY);
+      helpDialog->Show(true);
+    }
+}
+
+modelCDMProject* wxCDMProjectDescriptionPanel::GetProject() const
+{
+  return this->project;
 }
 
 void wxCDMProjectDescriptionPanel::OnBtnManagePackages(wxCommandEvent& event)