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:
parent
162351d832
commit
03088eee2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue