--- a/GraphicViewer.py Mon Aug 27 23:06:29 2012 +0200
+++ b/GraphicViewer.py Mon Aug 27 23:09:48 2012 +0200
@@ -134,7 +134,7 @@
self.ResetZoomOffsetButton = wx.lib.buttons.GenBitmapButton(self.Editor,
bitmap=GetBitmap("fit"), size=wx.Size(28, 28), style=wx.NO_BORDER)
- self.CurrentButton.SetToolTipString(_("Reset zoom and offset"))
+ self.ResetZoomOffsetButton.SetToolTipString(_("Reset zoom and offset"))
self.Bind(wx.EVT_BUTTON, self.OnResetZoomOffsetButton,
self.ResetZoomOffsetButton)
range_sizer.AddWindow(self.ResetZoomOffsetButton, 0, border=0, flag=0)