summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-21 16:54:37 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-21 16:54:37 +0000
commitf08563efd9ce016363cbe2e5e0b1e0cf8e38ea94 (patch)
tree0725c51474ab9d404841f8d4fc4ca1bbd4908606 /Source/Core
parent7834880925f91d845283babece4a020bdb80d505 (diff)
wxHandleFatalExceptions is an optional wx feature.
Fixes issue 3962. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6891 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp
index 4c074abcc4..19eab1b3b4 100644
--- a/Source/Core/DolphinWX/Src/Main.cpp
+++ b/Source/Core/DolphinWX/Src/Main.cpp
@@ -174,7 +174,7 @@ bool DolphinApp::OnInit()
#ifdef _WIN32
EXTENDEDTRACEINITIALIZE(".");
SetUnhandledExceptionFilter(&MyUnhandledExceptionFilter);
-#else
+#elif wxUSE_ON_FATAL_EXCEPTION
wxHandleFatalExceptions(true);
#endif