Found a hack to make button exit functional. Hope there won't be any memory leak... :/
This commit is contained in:
parent
91023c6fd3
commit
7ccecb6f5d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user