import wx config = lambda self: self.Bind(wx.EVT_BUTTON, 'handler', id=wx.NewId())