X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..dbe931ab5e8129e8de3d12ccdb2a207ed235cad6:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index fd557f0171..99592b884a 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', @@ -328,8 +324,8 @@ class wxPythonDemo(wx.Frame): self.Centre(wx.BOTH) self.CreateStatusBar(1, wx.ST_SIZEGRIP) - splitter = wx.SplitterWindow(self, -1, style=wx.NO_3D|wx.SP_3D) - splitter2 = wx.SplitterWindow(splitter, -1, style=wx.NO_3D|wx.SP_3D) + splitter = wx.SplitterWindow(self, -1) + splitter2 = wx.SplitterWindow(splitter, -1) def EmptyHandler(evt): pass wx.EVT_ERASE_BACKGROUND(splitter, EmptyHandler) @@ -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")