def OnMouseEnter(self, event):
self.GetParent().OnPopupDisplay(event)
+ self.SetBitmap(True)
+ self.Refresh()
event.Skip()
def OnMouseLeave(self, event):
self.GetParent().OnPopupHide(event)
+ self.SetBitmap(self.GetValue())
+ self.Refresh()
event.Skip()
class RadioButton(buttons.GenBitmapButton):
def OnMouseEnter(self, event):
self.GetParent().OnPopupDisplay(event)
+ self.SetBitmap(True)
+ self.Refresh()
event.Skip()
def OnMouseLeave(self, event):
self.GetParent().OnPopupHide(event)
+ self.SetBitmap(self.GetValue())
+ self.Refresh()
event.Skip()
class NormalButton(buttons.GenBitmapButton):