From a76d8a29531683cc1c82294ce0c894886f09c404 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Jan 2005 00:38:33 +0000 Subject: [PATCH] only declare wxHandleFatalExceptions() when wxUSE_ON_FATAL_EXCEPTION == 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/utils.h b/include/wx/utils.h index 2cb40e8f07..27b8400554 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -297,9 +297,13 @@ WXDLLIMPEXP_BASE unsigned long wxGetProcessId(); // Get free memory in bytes, or -1 if cannot determine amount (e.g. on UNIX) WXDLLIMPEXP_BASE wxMemorySize wxGetFreeMemory(); +#if wxUSE_ON_FATAL_EXCEPTION + // should wxApp::OnFatalException() be called? WXDLLIMPEXP_BASE bool wxHandleFatalExceptions(bool doit = true); +#endif // wxUSE_ON_FATAL_EXCEPTION + // ---------------------------------------------------------------------------- // Environment variables // ----------------------------------------------------------------------------