X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FwxCDMAppliHelpDialog.cpp;h=ec93c10bbaa8dffb0f46eec7de0dbbe845b3a69a;hb=5ff0bb2664c3cd508c1dd438666a71b8a96459c3;hp=446c65159651c615c91b01b6555b496043acaee1;hpb=e75a80c4a8a5d67aeb1e941f0c980a11c09cc125;p=crea.git diff --git a/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp b/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp index 446c651..ec93c10 100644 --- a/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp +++ b/lib/creaDevManagerLib/wxCDMAppliHelpDialog.cpp @@ -133,8 +133,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 +146,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 +159,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); }