2 * wxCreaDevManagerTreeCtrl.h
4 * Created on: 19/10/2012
8 #ifndef WXCDMPROJECTSTREECTRL_H_
9 #define WXCDMPROJECTSTREECTRL_H_
12 #include <wx/treectrl.h>
13 #include "modelCDMProjectsTree.h"
17 class wxCDMProjectsTreeCtrl: public wxTreeCtrl
20 wxCDMProjectsTreeCtrl(
22 wxWindowID id=wxID_ANY,
23 const wxPoint &pos=wxDefaultPosition,
24 const wxSize &size=wxDefaultSize,
25 long style=wxTR_DEFAULT_STYLE,
26 const wxValidator &validator=wxDefaultValidator,
27 const wxString &name=_("Projects tree")
29 ~wxCDMProjectsTreeCtrl();
32 wxWindowID id=wxID_ANY,
33 const wxPoint &pos=wxDefaultPosition,
34 const wxSize &size=wxDefaultSize,
35 long style=wxTR_DEFAULT_STYLE,
36 const wxValidator &validator=wxDefaultValidator,
37 const wxString &name=_("Projects tree")
40 void BuildTree(const modelCDMProjectsTree& tree);
42 void BuildTree(const std::vector<modelCDMProjectsTreeNode>& tree, wxTreeItemId parent);
45 #endif /* WXCDMPROJECTSTREECTRL_H_ */