]> git.saurik.com Git - wxWidgets.git/commitdiff
override GetLabe/SetLabel as on wxMac it will draw its own label that
authorRobin Dunn <robin@alldunn.com>
Mon, 28 Jun 2004 19:21:46 +0000 (19:21 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 28 Jun 2004 19:21:46 +0000 (19:21 +0000)
interferes with ours.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/colourselect.py

index 8b196d6461c4827dfcefdd699368617b2a33053e..62eee85e392540c6e3316cdfec4cb90869caa8a5 100644 (file)
@@ -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()