Bug with AutoBufferedPaintDC and Background style fixed
authorlbessard
Fri, 18 Jul 2008 15:44:37 +0200
changeset 224 e5bf78b847e1
parent 223 ea857c3a0427
child 225 7726c8ffda42
Bug with AutoBufferedPaintDC and Background style fixed
Viewer.py
--- a/Viewer.py	Fri Jul 18 14:41:32 2008 +0200
+++ b/Viewer.py	Fri Jul 18 15:44:37 2008 +0200
@@ -306,6 +306,7 @@
         # Adding a rubberband to Viewer
         self.rubberBand = RubberBand(drawingSurface=self)
         self.SetBackgroundColour(wx.Colour(255,255,255))
+        self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
         self.ResetView()
         self.Scaling = None
         self.DrawGrid = True