]> git.saurik.com Git - wxWidgets.git/commitdiff
default ID value
authorRobin Dunn <robin@alldunn.com>
Mon, 9 Oct 2006 02:32:08 +0000 (02:32 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 9 Oct 2006 02:32:08 +0000 (02:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/colourselect.py

index 1183fc4222a66bad5e838b288f46d2870ad8b3e6..5edba11b673e8689d946f2548f9fd9876ae43bc9 100644 (file)
@@ -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: