# HG changeset patch # User greg # Date 1242993111 -7200 # Node ID 4eeb0129f5d22c9946b631bb09fd978aa246b27c # Parent e5501b3337db596b11bbdafd2d27352cad47f05c little bug fixed for windows (SetBackgroundStyle) diff -r e5501b3337db -r 4eeb0129f5d2 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)