From: Robin Dunn Date: Mon, 9 Oct 2006 02:32:08 +0000 (+0000) Subject: default ID value X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/287490fa90585e2186cb9492defd48c28f3c2285 default ID value git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/lib/colourselect.py b/wxPython/wx/lib/colourselect.py index 1183fc4222..5edba11b67 100644 --- a/wxPython/wx/lib/colourselect.py +++ b/wxPython/wx/lib/colourselect.py @@ -60,7 +60,7 @@ EVT_COLOURSELECT = wx.PyEventBinder(wxEVT_COMMAND_COLOURSELECT, 1) #---------------------------------------------------------------------------- class ColourSelect(wx.BitmapButton): - def __init__(self, parent, id, label="", colour=wx.BLACK, + def __init__(self, parent, id=wx.ID_ANY, label="", colour=wx.BLACK, pos=wx.DefaultPosition, size=wx.DefaultSize, callback=None, style=0): if label: