summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
46735f5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1880
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
wxTreeCtrl* pTree = new wxTreeCtrl( mpInternalFrm, -1 );
{
wxTreeCtrl* pTree = new wxTreeCtrl( mpInternalFrm, -1 );
- int rootid = pTree->AppendItem( (long)0, label, 0);
+ int rootid = pTree->AppendItem( (long)0, label, -1);
- pTree->AppendItem(rootid, "Leaf1", 0);
- pTree->AppendItem(rootid, "Leaf2", 0);
+ pTree->AppendItem(rootid, "Leaf1", -1);
+ pTree->AppendItem(rootid, "Leaf2", -1);
- pTree->AppendItem(rootid, "Scully", 0);
- pTree->AppendItem(rootid, "Mulder", 0);
+ pTree->AppendItem(rootid, "Scully", -1);
+ pTree->AppendItem(rootid, "Mulder", -1);