]> git.saurik.com Git - wxWidgets.git/commitdiff
only declare wxHandleFatalExceptions() when wxUSE_ON_FATAL_EXCEPTION == 1
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:38:33 +0000 (00:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Jan 2005 00:38:33 +0000 (00:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/utils.h

index 2cb40e8f07f83d87dd85aad276c8e71af134c5d6..27b84005546b046535c539995a5ff68b42ca3994 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------