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
This commit is contained in:
@@ -96,6 +96,13 @@ class ColourSelect(wx.BitmapButton):
|
|||||||
self.SetBitmap(bmp)
|
self.SetBitmap(bmp)
|
||||||
|
|
||||||
|
|
||||||
|
def SetLabel(self, label):
|
||||||
|
self.label = label
|
||||||
|
|
||||||
|
def GetLabel(self):
|
||||||
|
return self.label
|
||||||
|
|
||||||
|
|
||||||
def MakeBitmap(self):
|
def MakeBitmap(self):
|
||||||
bdr = 10
|
bdr = 10
|
||||||
width, height = self.GetSize()
|
width, height = self.GetSize()
|
||||||
|
Reference in New Issue
Block a user