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:
parent
1711ac7b90
commit
edf3b4dcba
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user