X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e395c057a357ea8e8fb54a161897e6c4fb27266d..43b2cccb4b6578afa43b25f4dd15d3d29d89bafd:/utils/wxPython/demo/wxMVCTree.py diff --git a/utils/wxPython/demo/wxMVCTree.py b/utils/wxPython/demo/wxMVCTree.py index 8630080db0..af7760cb9d 100644 --- a/utils/wxPython/demo/wxMVCTree.py +++ b/utils/wxPython/demo/wxMVCTree.py @@ -27,6 +27,8 @@ def runTest(frame, nb, log): global logger logger = log p = wxMVCTree(nb, -1) + #f = wxFrame(frame, -1, "wxMVCTree") + #p = wxMVCTree(f, -1) p.SetAssumeChildren(true) p.SetModel(LateFSTreeModel(os.path.normpath(os.getcwd() + os.sep +'..'))) #Uncomment this to enable live filename editing! @@ -39,7 +41,14 @@ def runTest(frame, nb, log): EVT_MVCTREE_ADD_ITEM(p, p.GetId(), add) EVT_MVCTREE_DELETE_ITEM(p, p.GetId(), delitem) EVT_MVCTREE_KEY_DOWN(p, p.GetId(), key) + return p + #frame.otherWin = f + #f.Show(true) + #return None + + + overview = """\ wxMVCTree is a control which handles hierarchical data. It is constructed in model-view-controller architecture, so the display of that data, and the content of the data can be changed greatly without affecting the other parts.