X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMAppliHelpDialog.cpp;h=860abfdd87d533b1c5ecf1a3619aa2cd289a475d;hb=f10df58dfa9c4d8489fe35f57f796bcf37e5f9b4;hp=446c65159651c615c91b01b6555b496043acaee1;hpb=e75a80c4a8a5d67aeb1e941f0c980a11c09cc125;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp b/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp index 446c651..860abfd 100644 --- a/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp +++ b/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp @@ -94,9 +94,10 @@ void wxCDMAppliHelpDialog::CreateControls() "applications are useful when showing the projects' \"out of the box\" functionalities.\n" "\n" "In the application manager you can view a list of the available applications in the current project, as well as create " - "new applications. Remember that any application you make must be included in the appli's folder CMakeLists file. You can do that " - "by clicking on the \"Edit Appli's CMakeLists File\" button bellow or in the Application Manager the \"Edit CMakeLists file\" " - "button and include the desired applications at the end of the file.\n" + "new applications. Remember that any application you make must be included in the appli's folder CMakeLists file by using the " + "\"ADD_SUBDIRECTORY([applicationName])\" command. You can do that by clicking on the \"Edit Appli's CMakeLists File\" button " + "below or in the Application Manager the \"Edit CMakeLists file\" button and include the desired applications at the end of " + "the file.\n" "For a better understanding of how to use the applications please check the \"myFierceAppli\" application (which is shipped by " "default in every new project) and take a look at how it's included in the project."), wxDefaultPosition, @@ -133,8 +134,7 @@ void wxCDMAppliHelpDialog::OnEditCMake(wxCommandEvent& event) if(this->appli->GetCMakeLists() != NULL) { - int CMId = this->appli->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->appli->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); } @@ -147,8 +147,7 @@ void wxCDMAppliHelpDialog::OnCMakeListsEnter(wxMouseEvent& event) if(this->appli->GetCMakeLists() != NULL) { - int CMId = this->appli->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->appli->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); } @@ -161,8 +160,7 @@ void wxCDMAppliHelpDialog::OnCMakeListsExit(wxMouseEvent& event) if(this->appli->GetCMakeLists() != NULL) { - int CMId = this->appli->GetCMakeLists()->GetId(); - newEvent->SetInt(CMId); + newEvent->SetClientData(this->appli->GetCMakeLists()); newEvent->SetId(0); wxPostEvent(this->GetParent(), *newEvent); }