reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1941,8 +1941,11 @@ of your Mac."""
|
|||||||
# KeyboardInterrupt???) but will later segfault on exit. By
|
# KeyboardInterrupt???) but will later segfault on exit. By
|
||||||
# setting the default handler then the app will exit, as
|
# setting the default handler then the app will exit, as
|
||||||
# expected (depending on platform.)
|
# expected (depending on platform.)
|
||||||
import signal
|
try:
|
||||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
import signal
|
||||||
|
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# this initializes wxWindows and then calls our OnInit
|
# this initializes wxWindows and then calls our OnInit
|
||||||
_wxStart(self.OnInit)
|
_wxStart(self.OnInit)
|
||||||
|
Reference in New Issue
Block a user