minor demo tweaks
authorRobin Dunn <robin@alldunn.com>
Mon, 18 Dec 2006 23:19:04 +0000 (23:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 18 Dec 2006 23:19:04 +0000 (23:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Button.py
wxPython/demo/TreeCtrl.py

index 85fbae4c77f2bbb670dcff6ff7bc78e0b44d8b40..46415e45af79ebf387bca4f3d523140806cdc3f5 100644 (file)
@@ -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)
 
 
index 397deb0a0a736bc5aad54a16ff8c5efcfee231c1..24c82291c52d66646daf1de59926052467a21674 100644 (file)
@@ -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