"In the package manager you can view a list of the available packages in the current project, as well as create "
"new packages. Remember that any package you make must be included in the CMakeLists file. You can do that by "
"clicking on the \"Edit CMakeLists File\" button in the package manager section and include the desired packages "
- "at the end of the file. You should also include in this file those libraries your black boxes located in this "
- "package use."),
+ "at the end of the file using \"ADD_SUBDIRECTORY([packageName])\"."),
wxDefaultPosition,
wxDefaultSize,
wxALIGN_LEFT
if(packageManager->GetProject()->GetCMakeLists() != NULL)
{
- int CMId = packageManager->GetProject()->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(packageManager->GetProject()->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(packageManager->GetProject()->GetCMakeLists() != NULL)
{
- int CMId = packageManager->GetProject()->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(packageManager->GetProject()->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}