"Libraries contain the core classes of your project, these libraries should be used by black boxes and applications "
"from this project to perform the main functions of the project. Functions implementing important tasks such as image "
"processing algorithms or point cloud processing algorithms should be developed in the libraries of the project, while "
- "the black boxes and applications serve as interfaces between the user or other platforms and the libraries functions.\n"
+ "the black boxes and applications serve as interfaces between the user or other platforms and the libraries' functions.\n"
"\n"
"In the library manager you can view a list of the available libraries in the current project, as well as create "
- "new libraries. Remember that any library you make must be included in the lib's folder CMakeLists file. You can do that "
- "by clicking on the \"Edit Lib's CMakeLists File\" button bellow or in the Library Manager the \"Edit CMakeLists file\" "
- "button and include the desired libraries at the end of the file."),
+ "new libraries. Remember that any library you create must be included in the lib's folder CMakeLists file by using the "
+ "\"ADD_SUBDIRECTORY([libraryName])\" command. You can open this file by clicking on the \"Edit Lib's CMakeLists File\" "
+ "button below or in the Library Manager the \"Edit CMakeLists file\" button and include the desired libraries at the end "
+ "of the file."),
wxDefaultPosition,
wxDefaultSize,
wxALIGN_LEFT
if(!this->lib->OpenCMakeListsFile(result))
wxMessageBox(crea::std2wx(*result),_T("Open CMakeLists File - Error!"),wxOK | wxICON_ERROR);
- wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LIST_ITEM_DESELECTED);
+ wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LISTBOX_SELECTED);
if(this->lib->GetCMakeLists() != NULL)
{
- int CMId = this->lib->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->lib->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
void wxCDMLibHelpDialog::OnEditCMakeMouseEnter(wxMouseEvent& event)
{
- wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LIST_ITEM_SELECTED);
+ wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED);
if(this->lib->GetCMakeLists() != NULL)
{
- int CMId = this->lib->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->lib->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
void wxCDMLibHelpDialog::OnEditCMakeMouseExit(wxMouseEvent& event)
{
- wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LIST_ITEM_DESELECTED);
+ wxCommandEvent* newEvent = new wxCommandEvent(wxEVT_COMMAND_LISTBOX_SELECTED);
if(this->lib->GetCMakeLists() != NULL)
{
- int CMId = this->lib->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->lib->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}