diff --git a/wxPython/demo/Button.py b/wxPython/demo/Button.py index 85fbae4c77..46415e45af 100644 --- a/wxPython/demo/Button.py +++ b/wxPython/demo/Button.py @@ -19,7 +19,7 @@ class TestPanel(wx.Panel): b.SetToolTipString("This is a Hello button...") b = wx.Button(self, 40, "Flat Button?", (20,150), style=wx.NO_BORDER) - b.SetToolTipString("This button has a style flag of wx.NO_BORDER. On some platforms that will give it a flattened look.") + b.SetToolTipString("This button has a style flag of wx.NO_BORDER.\nOn some platforms that will give it a flattened look.") self.Bind(wx.EVT_BUTTON, self.OnClick, b) diff --git a/wxPython/demo/TreeCtrl.py b/wxPython/demo/TreeCtrl.py index 397deb0a0a..24c82291c5 100644 --- a/wxPython/demo/TreeCtrl.py +++ b/wxPython/demo/TreeCtrl.py @@ -43,6 +43,9 @@ class TestTreeCtrlPanel(wx.Panel): fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, isz)) smileidx = il.Add(images.getSmilesBitmap()) + b = images.getSmilesBitmap() + print b.GetSize() + self.tree.SetImageList(il) self.il = il