"If you don't understand how this inputs and outputs are used, try looking at the sample black boxes available "
"in the sample package, which is shipped with every new project.\n"
"Also, don't forget to include the libraries your boxes use in the header and implementation files. They should "
- "also be pointed and included in the package's directory CMakeLists.txt file and the project's directory "
- "CMakeLists.txt file. Again, please take a look at the sample package and its boxes to see how to include libraries "
- "in order to use them in the boxes.\n"
+ "also be pointed and included in the package's directory CMakeLists.txt file by uncommenting the \"SET\" commands "
+ "for third party libraries or by including the library name inside the \"SET(${BBTK_PACKAGE_NAME}_LIBS\"command "
+ "and its path inside the \"SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS\" command for custom libraries. You must also "
+ "include the package your black box is in by including the command \"ADD_SUBDIRECTORY([packageName])\" in the "
+ "project's directory CMakeLists.txt file. Again, please take a look at the sample package and its boxes to see "
+ "how to include libraries in order to use them in the boxes.\n"
"\n"
"You can easily edit the CMakeLists files previously mentioned by clicking on the following buttons."),
wxDefaultPosition,
if(((modelCDMPackage*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMPackage*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMPackage*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMProject*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMProject*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMProject*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMPackage*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMPackage*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMPackage*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMProject*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMProject*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMProject*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMPackage*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMPackage*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMPackage*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMProject*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMProject*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMProject*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}