equal
deleted
inserted
replaced
303 class ToolTip(wx.PopupWindow): |
303 class ToolTip(wx.PopupWindow): |
304 |
304 |
305 # Create a rubberband by indicated on which window it must be drawn |
305 # Create a rubberband by indicated on which window it must be drawn |
306 def __init__(self, parent, tip): |
306 def __init__(self, parent, tip): |
307 wx.PopupWindow.__init__(self, parent) |
307 wx.PopupWindow.__init__(self, parent) |
|
308 self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM) |
308 self.SetTip(tip) |
309 self.SetTip(tip) |
309 |
310 |
310 self.Bind(wx.EVT_PAINT, self.OnPaint) |
311 self.Bind(wx.EVT_PAINT, self.OnPaint) |
311 |
312 |
312 def SetTip(self, tip): |
313 def SetTip(self, tip): |