minor demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-12-18 23:19:04 +00:00
parent facc1d350b
commit 4b32f8c79e
2 changed files with 4 additions and 1 deletions

View 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)

View 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