wxPython tab cleaning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Surovell
2006-01-29 17:35:47 +00:00
parent 6e5551ad85
commit 2458faeb60
6 changed files with 28 additions and 28 deletions

View File

@@ -2135,7 +2135,7 @@ class FloatCanvas(wx.Panel):
pass
def LeftUpEvent(self,event):
if self.HasCapture():
if self.HasCapture():
self.ReleaseMouse()
if self.GUIMode:
if self.GUIMode == "ZoomIn":
@@ -2598,7 +2598,7 @@ class FloatCanvas(wx.Panel):
self.BoundingBox = None
self.ViewPortCenter= array( (0,0), Float)
self.TransformVector = array( (1,-1), Float)
self.MapProjectionVector = array( (1,1), Float)
self.MapProjectionVector = array( (1,1), Float)
self.Scale = 1
self.BoundingBoxDirty = False

View File

@@ -688,7 +688,7 @@ class PlotCanvas(wx.Window):
def ScrollUp(self, units):
"""Move view up number of axis units."""
self.last_PointLabel = None #reset pointLabel
if self.last_draw is not None:
if self.last_draw is not None:
graphics, xAxis, yAxis= self.last_draw
yAxis= (yAxis[0]+units, yAxis[1]+units)
self.Draw(graphics,xAxis,yAxis)