wxPython demo patch

Traceback (most recent call last):
  File "/Projects/wxpython-demo/CalendarCtrl.py", line 30, in OnButton
    self.cal.Destroy()
AttributeError: 'NoneType' object has no attribute 'Destroy'

CalendarCtrl.diff : prevent checkin destroy empty Calendar object

CalendarCtrl.diff (262 Bytes)

Sizers.diff (276 Bytes)

SplitTree.diff (806 Bytes)

···

------------------------------------------------------------------------------

Traceback (most recent call last):
  File "Sizers.py", line 544, in OnDClick
    win = TestFrame(self, title, func)
  File "Sizers.py", line 489, in __init__
    self.sizer = sizerFunc(p)
  File "Sizers.py", line 101, in makeSimpleBox8
    box = wxBoxSizer(wx.VERTICAL)
NameError: global name 'wxBoxSizer' is not defined

Sizers.diff : wx name space update

------------------------------------------------------------------------------

Traceback (most recent call last):
  File "/Projects/wxpython-demo/Main.py", line 669, in OnSelChanged
    self.RunDemo(itemText)
  File "/Projects/wxpython-demo/Main.py", line 711, in RunDemo
    self.window = module.runTest(self, self.nb, self) ###
  File "/Projects/wxpython-demo/SplitTree.py", line 128, in runTest
    win = TestPanel(nb, log)
  File "/Projects/wxpython-demo/SplitTree.py", line 100, in __init__
    tree = TestTree(splitter, -1, style = wx.TR_HAS_BUTTONS |
TypeError: __init__() got multiple values for keyword argument 'style'

Traceback (most recent call last):
  File "/Projects/wxpython-bug/SplitTree.py", line 69, in DrawItem
    pen = wx.Pen(
AttributeError: 'module' object has no attribute 'SystemSettings_GetSystemColour'
Traceback (most recent call last):
  File "/Projects/wxpython-bug/SplitTree.py", line 69, in DrawItem
    pen = wx.Pen(
AttributeError: 'module' object has no attribute 'SystemSettings_GetSystemColour'

SplitTree.diff : dummy mistakes :-!

------------------------------------------------------------------------------

Regards,

Tomo