little bug fixed for windows (SetBackgroundStyle)
authorgreg
Fri, 22 May 2009 13:51:51 +0200
changeset 358 4eeb0129f5d2
parent 357 e5501b3337db
child 359 363af30a8b83
little bug fixed for windows (SetBackgroundStyle)
graphics/GraphicCommons.py
--- a/graphics/GraphicCommons.py	Fri May 22 09:38:53 2009 +0200
+++ b/graphics/GraphicCommons.py	Fri May 22 13:51:51 2009 +0200
@@ -305,6 +305,7 @@
     # Create a rubberband by indicated on which window it must be drawn
     def __init__(self, parent, tip):
         wx.PopupWindow.__init__(self, parent)
+        self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
         self.SetTip(tip)
         
         self.Bind(wx.EVT_PAINT, self.OnPaint)