]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix. I didn't add a #error since I figured this sample will be
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 16 Apr 2005 21:22:29 +0000 (21:22 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 16 Apr 2005 21:22:29 +0000 (21:22 +0000)
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

index 3d4fd14be520c7c3a0f40f2e9dbda806172cc61d..f6a0c208b2ef3900499178c2b817367060f05bf5 100644 (file)
@@ -137,7 +137,9 @@ class MyApp : public wxApp
 public:
     virtual bool OnInit()
     {
+#if wxUSE_ON_FATAL_EXCEPTION
         wxHandleFatalExceptions();
+#endif
 
         if ( !wxApp::OnInit() )
             return false;