diff --git a/wxPython/wx/lib/colourselect.py b/wxPython/wx/lib/colourselect.py index 8b196d6461..62eee85e39 100644 --- a/wxPython/wx/lib/colourselect.py +++ b/wxPython/wx/lib/colourselect.py @@ -96,6 +96,13 @@ class ColourSelect(wx.BitmapButton): self.SetBitmap(bmp) + def SetLabel(self, label): + self.label = label + + def GetLabel(self): + return self.label + + def MakeBitmap(self): bdr = 10 width, height = self.GetSize()