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