returned WXpanicalert

it should be extended to get a message
and the code in common.cpp cleaned up


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1529 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-14 12:30:37 +00:00
parent 162351d832
commit 03088eee2f
1 changed files with 6 additions and 2 deletions

View File

@ -44,6 +44,10 @@
IMPLEMENT_APP(DolphinApp)
#if defined(HAVE_WX) && HAVE_WX
bool wxPanicAlert(const char* text, bool /*yes_no*/);
#endif
CFrame* main_frame = NULL;
CCodeWindow* g_pCodeWindow = NULL;
@ -87,8 +91,8 @@ bool DolphinApp::OnInit()
_CrtSetDbgFlag(tmpflag);
#endif
#ifndef _WIN32
// RegisterPanicAlertHandler(&wxPanicAlert);
#if defined(HAVE_WX) && HAVE_WX
RegisterPanicAlertHandler(&wxPanicAlert);
#endif
#ifdef _WIN32