From 4b32f8c79e13296b23a5ca95114e8db2c313f053 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 18 Dec 2006 23:19:04 +0000 Subject: [PATCH] minor demo tweaks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Button.py | 2 +- wxPython/demo/TreeCtrl.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.2