Found a hack to make button exit functional. Hope there won't be any memory leak... :/

This commit is contained in:
Phyks 2013-12-26 00:44:25 +01:00
parent 91023c6fd3
commit 7ccecb6f5d

View File

@ -122,6 +122,7 @@ class PaintWindow(wx.Window):
def button_exit_handle(self, event):
self.Destroy()
wx.App.ExitMainLoop(app)
def button_clear_handle(self, event):
self.button_exit.Destroy()