Bladeren bron

Remove PrintOptions.OnReset()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34382 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 jaren geleden
bovenliggende
commit
388e5509ba

+ 0 - 3
gui/wxpython/gui_modules/disp_print.py

@@ -156,6 +156,3 @@ class PrintOptions:
         else:
             self.printData = wx.PrintData( printer.GetPrintDialogData().GetPrintData() )
         printout.Destroy()
-
-    def OnReset(self):
-	self.printData = None

+ 0 - 4
gui/wxpython/gui_modules/histogram.py

@@ -518,10 +518,6 @@ class HistFrame(wx.Frame):
         printmenu.AppendItem(doprint)
         self.Bind(wx.EVT_MENU, self.printopt.OnDoPrint, doprint)
 
-        reset = wx.MenuItem(printmenu, -1,'Reset')
-        printmenu.AppendItem(reset)
-        self.Bind(wx.EVT_MENU, self.printopt.OnReset, reset)
-
         # Popup the menu.  If an item is selected then its handler
         # will be called before PopupMenu returns.
         self.PopupMenu(printmenu)

+ 0 - 4
gui/wxpython/gui_modules/mapdisp.py

@@ -3298,10 +3298,6 @@ class MapFrame(wx.Frame):
         printmenu.AppendItem(doprint)
         self.Bind(wx.EVT_MENU, self.printopt.OnDoPrint, doprint)
 
-        reset = wx.MenuItem(printmenu, -1,'Reset')
-        printmenu.AppendItem(reset)
-        self.Bind(wx.EVT_MENU, self.printopt.OnReset, reset)
-
         # Popup the menu.  If an item is selected then its handler
         # will be called before PopupMenu returns.
         self.PopupMenu(printmenu)