From 08168cc43d14a68d702253d9926b680729066afb Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sat, 16 Apr 2005 21:22:29 +0000 Subject: [PATCH] Compilation fix. I didn't add a #error since I figured this sample will be demonstrating more things than just OnFatalException() in the future? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/debugrpt/debugrpt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/debugrpt/debugrpt.cpp b/samples/debugrpt/debugrpt.cpp index 3d4fd14be5..f6a0c208b2 100644 --- a/samples/debugrpt/debugrpt.cpp +++ b/samples/debugrpt/debugrpt.cpp @@ -137,7 +137,9 @@ class MyApp : public wxApp public: virtual bool OnInit() { +#if wxUSE_ON_FATAL_EXCEPTION wxHandleFatalExceptions(); +#endif if ( !wxApp::OnInit() ) return false;