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:
@@ -19,7 +19,7 @@ class TestPanel(wx.Panel):
|
|||||||
b.SetToolTipString("This is a Hello button...")
|
b.SetToolTipString("This is a Hello button...")
|
||||||
|
|
||||||
b = wx.Button(self, 40, "Flat Button?", (20,150), style=wx.NO_BORDER)
|
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)
|
self.Bind(wx.EVT_BUTTON, self.OnClick, b)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -43,6 +43,9 @@ class TestTreeCtrlPanel(wx.Panel):
|
|||||||
fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, isz))
|
fileidx = il.Add(wx.ArtProvider_GetBitmap(wx.ART_NORMAL_FILE, wx.ART_OTHER, isz))
|
||||||
smileidx = il.Add(images.getSmilesBitmap())
|
smileidx = il.Add(images.getSmilesBitmap())
|
||||||
|
|
||||||
|
b = images.getSmilesBitmap()
|
||||||
|
print b.GetSize()
|
||||||
|
|
||||||
self.tree.SetImageList(il)
|
self.tree.SetImageList(il)
|
||||||
self.il = il
|
self.il = il
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user