X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..4b3163294c68097a196dcb51f1a0e1475f9a3f57:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index fd557f0171..52412f1e90 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -25,14 +25,7 @@ import images _treeList = [ # new stuff ('Recent Additions', [ - 'wxScrolledPanel', - 'ShapedWindow', - 'NewNamespace', - 'PopupMenu', - 'AnalogClockWindow', - 'MaskedEditControls', - 'wxTreeListCtrl', - 'wxGrid_MegaExample', + 'wxVListBox', ]), # managed windows == things with a (optional) caption you can close @@ -138,6 +131,7 @@ _treeList = [ 'wxStyledTextCtrl_2', 'wxTimeCtrl', 'wxTreeListCtrl', + 'wxVListBox', ]), # How to lay out the controls in a frame/dialog @@ -187,7 +181,9 @@ _treeList = [ 'DialogUnits', 'DrawXXXList', 'FontEnumerator', + 'NewNamespace', 'PrintFramework', + 'ShapedWindow', 'Throbber', 'Unicode', 'wxFileHistory', @@ -394,9 +390,8 @@ class wxPythonDemo(wx.Frame): # Create a TreeCtrl tID = wx.NewId() self.treeMap = {} - self.tree = wx.TreeCtrl(splitter, tID, - style=wx.TR_HAS_BUTTONS | - wx.TR_HAS_VARIABLE_ROW_HEIGHT + self.tree = wx.TreeCtrl(splitter, tID, style = + wx.TR_DEFAULT_STYLE #| wx.TR_HAS_VARIABLE_ROW_HEIGHT ) root = self.tree.AddRoot("wxPython Overview")