mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Provide a stubbed version of wxHandleFatalExceptions based on wxUSE_ON_FATAL_EXCEPTION
This commit is contained in:
10
etg/app.py
10
etg/app.py
@@ -209,6 +209,16 @@ def run():
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
module.find('wxHandleFatalExceptions').setCppCode("""\
|
||||
#if wxUSE_ON_FATAL_EXCEPTION
|
||||
return wxHandleFatalExceptions(doIt);
|
||||
#else
|
||||
wxLogInfo("This build of wxWidgets does not support wxHandleFatalExceptions.");
|
||||
return false;
|
||||
#endif
|
||||
""")
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
module.addHeaderCode("""\
|
||||
enum wxAppAssertMode {
|
||||
|
||||
Reference in New Issue
Block a user