X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..68fc5c8025e38b9d827383fbfe7ce509ae331c1f:/wxPython/demo/GenericButtons.py diff --git a/wxPython/demo/GenericButtons.py b/wxPython/demo/GenericButtons.py index 7a08befcff..a142d5c234 100644 --- a/wxPython/demo/GenericButtons.py +++ b/wxPython/demo/GenericButtons.py @@ -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)