Added a set of button classes to wx.lib.buttons from David Hughes that

uses the native renderer to draw the button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-12 01:51:18 +00:00
parent d1fa6ef3dd
commit 169f3a3d6f
3 changed files with 41 additions and 2 deletions

View File

@@ -128,6 +128,10 @@ class TestPanel(wx.Panel):
##b.SetBackgroundColour("sky blue")
##b.SetBackgroundColour("pink")
b = buttons.ThemedGenButton(self, -1, 'Drawn with native renderer')
self.Bind(wx.EVT_BUTTON, self.OnButton, b)
sizer.Add(b)
border = wx.BoxSizer(wx.VERTICAL)
border.Add(sizer, 0, wx.ALL, 25)