_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
'wxStyledTextCtrl_2',
'wxTimeCtrl',
'wxTreeListCtrl',
+ 'wxVListBox',
]),
# How to lay out the controls in a frame/dialog
'DialogUnits',
'DrawXXXList',
'FontEnumerator',
+ 'NewNamespace',
'PrintFramework',
+ 'ShapedWindow',
'Throbber',
'Unicode',
'wxFileHistory',
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)
# 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")