# o Updated for 2.5 compatability.
#
+"""
+Provides a `ColourSelect` button that, when clicked, will display a
+colour selection dialog. The selected colour is displayed on the
+button itself.
+"""
+
#----------------------------------------------------------------------------
import wx
#----------------------------------------------------------------------------
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: