)
{
wxPanel::Create(parent, id, pos, size, style);
+ this->lib = lib;
+ CreateControls();
// this part makes the scrollbars show up
this->FitInside(); // ask the sizer about the needed size
this->SetScrollRate(5, 5);
-
- this->lib = lib;
- CreateControls();
return TRUE;
}
//help icon
wxButton* pLibraryHlp = new wxButton(propertiesPanel, wxID_ANY, wxT("?"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT);
+ pLibraryHlp->Enable(false);
+ tt = "When this library is included in the CMakeLists file, the\nfollowing line is included in the CMakeList.txt file in the lib\nfolder:\n"
+ "ADD_SUBDIRECTORY(" + libraries[i]->GetName() + ")";
+ pLibraryHlp->SetToolTip(crea::std2wx(tt));
+
propertiesGridSizer -> Add(pLibraryHlp, 0, wxEXPAND | wxALIGN_CENTER);
}