Viewer.py
changeset 224 e5bf78b847e1
parent 222 8ce5c2635976
child 231 fc2d6cbb8b39
equal deleted inserted replaced
223:ea857c3a0427 224:e5bf78b847e1
   304             style=wx.HSCROLL | wx.VSCROLL)
   304             style=wx.HSCROLL | wx.VSCROLL)
   305         self._init_menus()
   305         self._init_menus()
   306         # Adding a rubberband to Viewer
   306         # Adding a rubberband to Viewer
   307         self.rubberBand = RubberBand(drawingSurface=self)
   307         self.rubberBand = RubberBand(drawingSurface=self)
   308         self.SetBackgroundColour(wx.Colour(255,255,255))
   308         self.SetBackgroundColour(wx.Colour(255,255,255))
       
   309         self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
   309         self.ResetView()
   310         self.ResetView()
   310         self.Scaling = None
   311         self.Scaling = None
   311         self.DrawGrid = True
   312         self.DrawGrid = True
   312         self.GridBrush = wx.TRANSPARENT_BRUSH
   313         self.GridBrush = wx.TRANSPARENT_BRUSH
   313         self.PageSize = None
   314         self.PageSize = None