if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}