X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMPackageManagerHelpDialog.cpp;h=24c4733ac0aee570b7359de1f972130b3e5cfb38;hb=bae167768b5d3ccae6ec9b04c844d80e0368a52d;hp=a42f039c58df124487c70108e9f2102c478dc97c;hpb=e75a80c4a8a5d67aeb1e941f0c980a11c09cc125;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMPackageManagerHelpDialog.cpp b/lib/creaDevManagerLib/wxCDMPackageManagerHelpDialog.cpp index a42f039..24c4733 100644 --- a/lib/creaDevManagerLib/wxCDMPackageManagerHelpDialog.cpp +++ b/lib/creaDevManagerLib/wxCDMPackageManagerHelpDialog.cpp @@ -96,8 +96,7 @@ void wxCDMPackageManagerHelpDialog::CreateControls() "In the package manager you can view a list of the available packages in the current project, as well as create " "new packages. Remember that any package you make must be included in the CMakeLists file. You can do that by " "clicking on the \"Edit CMakeLists File\" button in the package manager section and include the desired packages " - "at the end of the file. You should also include in this file those libraries your black boxes located in this " - "package use."), + "at the end of the file using \"ADD_SUBDIRECTORY([packageName])\"."), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT @@ -161,8 +160,7 @@ void wxCDMPackageManagerHelpDialog::OnEditCMakeMouseEnter(wxMouseEvent& event) if(packageManager->GetProject()->GetCMakeLists() != NULL) { - int CMId = packageManager->GetProject()->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(packageManager->GetProject()->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); } @@ -175,8 +173,7 @@ void wxCDMPackageManagerHelpDialog::OnEditCMakeMouseExit(wxMouseEvent& event) if(packageManager->GetProject()->GetCMakeLists() != NULL) { - int CMId = packageManager->GetProject()->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(packageManager->GetProject()->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); }