Remove middle click to open new page, fixing wx3 deprecation warning (didn't seem to work anyway)

This commit is contained in:
blitzmann
2015-06-04 21:01:49 -05:00
parent 98d9adef8a
commit 16017a3c31

View File

@@ -57,7 +57,7 @@ class FitSpawner(gui.multiSwitch.TabSpawner):
startup = getattr(event, "startup", False) # see OpenFitsThread in gui.mainFrame
mstate = wx.GetMouseState()
if mstate.CmdDown() or mstate.MiddleDown() or startup:
if mstate.CmdDown() or startup:
self.multiSwitch.AddPage()
view = FittingView(self.multiSwitch)