X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMPackageDescriptionPanel.cpp;fp=lib%2FcreaDevManagerLib%2FwxCDMPackageDescriptionPanel.cpp;h=74cd7fcf360b6fa755de700314c785b982e1932b;hb=9db5150d933dff7a6b833c54847d1c35ac38a9c6;hp=00858bddbd9ccfb91596a91ac6b132a3bdcbba51;hpb=82535c727c13786bc29fc0f0e73aca927d77b8fe;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp index 00858bd..74cd7fc 100644 --- a/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp @@ -43,6 +43,11 @@ #include #include "CDMUtilities.h" +#include +#include "modelCDMCMakeListsFile.h" +#include "wxCDMPackageHelpDialog.h" + + BEGIN_EVENT_TABLE(wxCDMPackageDescriptionPanel, wxPanel) EVT_BUTTON(ID_BUTTON_PREV, wxCDMPackageDescriptionPanel::OnBtnReturn) EVT_BUTTON(ID_BUTTON_SET_AUTHOR, wxCDMPackageDescriptionPanel::OnBtnSetAuthor) @@ -209,6 +214,13 @@ void wxCDMPackageDescriptionPanel::CreateControls() //Assign sizer SetSizer(sizer); sizer->SetSizeHints(this); + + if (((wxCDMMainFrame*)this->GetParent())->isHelp()) + { + std::vector files; + wxCDMPackageHelpDialog* helpDialog = new wxCDMPackageHelpDialog(this->GetParent(), files, wxID_ANY); + helpDialog->Show(true); + } } void wxCDMPackageDescriptionPanel::OnBtnReturn(wxCommandEvent& event)