From: Robin Dunn Date: Mon, 28 Jun 2004 19:21:46 +0000 (+0000) Subject: override GetLabe/SetLabel as on wxMac it will draw its own label that X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/edf3b4dcbaf8ad81b680e9abb3778dfbe2968f48?ds=inline override GetLabe/SetLabel as on wxMac it will draw its own label that interferes with ours. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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()