X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..9e58eb5674cfac859568c9a4b1030012e1f0eb64:/wxPython/demo/ColourSelect.py diff --git a/wxPython/demo/ColourSelect.py b/wxPython/demo/ColourSelect.py index 8f220642fa..6f2a9e1465 100644 --- a/wxPython/demo/ColourSelect.py +++ b/wxPython/demo/ColourSelect.py @@ -56,7 +56,7 @@ class TestColourSelect(wx.Panel): # show a button with all default values self.colourDefaults = csel.ColourSelect(self, -1) - self.colourDefaults.Bind(csel.EVT_COLOURSELECT, self.OnSelectColour, self.colourDefaults.GetId()) + self.Bind(csel.EVT_COLOURSELECT, self.OnSelectColour, id=self.colourDefaults.GetId()) buttonSizer.AddMany([ (wx.StaticText(self, -1, "Default Colour/Size"), 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL),