X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46735f5536b7fd91d4c91b76f966d3f7bb5a4b3d..6e0e2e9ccd8028ed6d79a5cafae32bf49df9f304:/utils/framelayout/samples/demo/fl_demo.cpp?ds=inline diff --git a/utils/framelayout/samples/demo/fl_demo.cpp b/utils/framelayout/samples/demo/fl_demo.cpp index ebe2ba7163..eb083f57c1 100644 --- a/utils/framelayout/samples/demo/fl_demo.cpp +++ b/utils/framelayout/samples/demo/fl_demo.cpp @@ -667,17 +667,17 @@ wxTreeCtrl* MyFrame::CreateTreeCtrl( const wxString& label ) { wxTreeCtrl* pTree = new wxTreeCtrl( mpInternalFrm, -1 ); - int rootid = pTree->AppendItem( (long)0, label, 0); + int rootid = pTree->AppendItem( (long)0, label, -1); if ( label[0] != 'X' ) { - pTree->AppendItem(rootid, "Leaf1", 0); - pTree->AppendItem(rootid, "Leaf2", 0); + pTree->AppendItem(rootid, "Leaf1", -1); + pTree->AppendItem(rootid, "Leaf2", -1); } else { - pTree->AppendItem(rootid, "Scully", 0); - pTree->AppendItem(rootid, "Mulder", 0); + pTree->AppendItem(rootid, "Scully", -1); + pTree->AppendItem(rootid, "Mulder", -1); } return pTree;