X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FcreaDevManagerLib%2FwxCDMLibHelpDialog.cpp;h=e74d006c4228c982e398ab919e25f22d73e30dec;hb=9f11db34cb1acacf545f819d6b552a95835d93bd;hp=428e96498492f9b0e17846eb52aee6c5b582b001;hpb=e75a80c4a8a5d67aeb1e941f0c980a11c09cc125;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMLibHelpDialog.cpp b/lib/creaDevManagerLib/wxCDMLibHelpDialog.cpp index 428e964..e74d006 100644 --- a/lib/creaDevManagerLib/wxCDMLibHelpDialog.cpp +++ b/lib/creaDevManagerLib/wxCDMLibHelpDialog.cpp @@ -92,12 +92,13 @@ void wxCDMLibHelpDialog::CreateControls() "Libraries contain the core classes of your project, these libraries should be used by black boxes and applications " "from this project to perform the main functions of the project. Functions implementing important tasks such as image " "processing algorithms or point cloud processing algorithms should be developed in the libraries of the project, while " - "the black boxes and applications serve as interfaces between the user or other platforms and the libraries functions.\n" + "the black boxes and applications serve as interfaces between the user or other platforms and the libraries' functions.\n" "\n" "In the library manager you can view a list of the available libraries in the current project, as well as create " - "new libraries. Remember that any library you make must be included in the lib's folder CMakeLists file. You can do that " - "by clicking on the \"Edit Lib's CMakeLists File\" button bellow or in the Library Manager the \"Edit CMakeLists file\" " - "button and include the desired libraries at the end of the file."), + "new libraries. Remember that any library you create must be included in the lib's folder CMakeLists file by using the " + "\"ADD_SUBDIRECTORY([libraryName])\" command. You can open this file by clicking on the \"Edit Lib's CMakeLists File\" " + "button below or in the Library Manager the \"Edit CMakeLists file\" button and include the desired libraries at the end " + "of the file."), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT @@ -132,8 +133,7 @@ void wxCDMLibHelpDialog::OnEditCMake(wxCommandEvent& event) if(this->lib->GetCMakeLists() != NULL) { - int CMId = this->lib->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->lib->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); } @@ -146,8 +146,7 @@ void wxCDMLibHelpDialog::OnEditCMakeMouseEnter(wxMouseEvent& event) if(this->lib->GetCMakeLists() != NULL) { - int CMId = this->lib->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->lib->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); } @@ -160,8 +159,7 @@ void wxCDMLibHelpDialog::OnEditCMakeMouseExit(wxMouseEvent& event) if(this->lib->GetCMakeLists() != NULL) { - int CMId = this->lib->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->lib->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); }