Commit 5a0ebdc5 authored by Taylor Hanayik's avatar Taylor Hanayik
Browse files

move onClose binding to individual apps rather than core

parent 57dda55d
......@@ -210,10 +210,6 @@ def layout(parent, buildSpec, propObj):
return parent
def onClose(event):
wx.GetApp().ExitMainLoop()
def buildGUI(buildSpec, propObj):
"""
build a GUI from a build spec dictionary (or JSON)
......@@ -230,7 +226,6 @@ def buildGUI(buildSpec, propObj):
mainWin.Centre()
mainWin.Show()
mainWin.Bind(wx.EVT_CLOSE, onClose)
return mainWin
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment