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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user