/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/legend.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/legend.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1129 by bh, Wed Jun 4 18:36:52 2003 UTC revision 1180 by jonathan, Thu Jun 12 16:28:54 2003 UTC
# Line 659  class ScaleBarBitmap(wxBoxSizer): Line 659  class ScaleBarBitmap(wxBoxSizer):
659          dc.SelectObject(bmp)          dc.SelectObject(bmp)
660          dc.Clear()          dc.Clear()
661    
662          self.scalebar.DrawScaleBar(scale, dc, (0,0), dc.GetSizeTuple())          if self.canvas.map.projection is not None:
663                self.scalebar.DrawScaleBar(scale, dc, (0,0), dc.GetSizeTuple())
664    
665          self.scalebarBitmap.SetBitmap(bmp)          self.scalebarBitmap.SetBitmap(bmp)
666    

Legend:
Removed from v.1129  
changed lines
  Added in v.1180

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26