diff --git a/piboard.py b/piboard.py index 5589a57..159b878 100755 --- a/piboard.py +++ b/piboard.py @@ -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()