- b = wxGenButton(self, -1, 'bigger')
- EVT_BUTTON(self, b.GetId(), self.OnBiggerButton)
- b.SetFont(wxFont(20, wxSWISS, wxNORMAL, wxBOLD, False))
+ # This time, we let the botton be as big as it can be.
+ # Also, this one is fancier, with custom colors and bezel size.
+ b = buttons.GenButton(self, -1, 'bigger')
+ self.Bind(wx.EVT_BUTTON, self.OnBiggerButton, b)
+ b.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False))