Provide a stubbed version of wxHandleFatalExceptions based on wxUSE_ON_FATAL_EXCEPTION

This commit is contained in:
Robin Dunn
2021-01-18 14:16:59 -08:00
parent 3197c46797
commit 91a205fb17

View File

@@ -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 {