1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: suppress wxdebug assertion messages
gamera-gui: prevent warning on not properly closed event handlers
on exit
Author: Daniel Stender <debian@danielstender.com>
Bug: http://bugs.debian.org/758578
Forwarded: http://sourceforge.net/p/gamera/code/1424/tree//trunk/gamera/gamera/gui/gui.py?diff=50c1e1f034309d0a1716b4b0:1423
Last-Update: 2014-08-26
--- a/gamera/gui/gui.py
+++ b/gamera/gui/gui.py
@@ -569,6 +569,7 @@ def run(startup=_show_shell):
# wxWindows calls this method to initialize the application
def OnInit(self):
+ self.SetAssertMode(wx.PYAPP_ASSERT_SUPPRESS)
self.SetAppName("Gamera")
self.splash = GameraSplash()
self.splash.Show()
|