Revert "Added shortcut support for all pyfa child windows (ctrl/cmd + w = close window)"

This reverts commit 14d0f50aff.
This commit is contained in:
HomeWorld
2010-10-16 16:07:58 +03:00
parent 14d0f50aff
commit 1d9a5eb1b2
4 changed files with 1 additions and 58 deletions

View File

@@ -180,18 +180,6 @@ class DmgPatternEditorDlg (wx.Dialog):
self.patternChanged()
hiddenMenu = wx.Menu()
hiddenMenu.Append(9914,"Close window")
self.Bind(wx.EVT_MENU,self.HCloseWindow, id = 9914)
actb = [(wx.ACCEL_CTRL, ord('W'), 9914),
(wx.ACCEL_CMD, ord('W'), 9914)]
atable = wx.AcceleratorTable(actb)
self.SetAcceleratorTable(atable)
def HCloseWindow(self,event):
self.Destroy()
event.Skip()
def ValuesUpdated(self, event=None):
if self.block:
return