mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -44,6 +44,10 @@
|
|||||||
|
|
||||||
IMPLEMENT_APP(DolphinApp)
|
IMPLEMENT_APP(DolphinApp)
|
||||||
|
|
||||||
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
|
bool wxPanicAlert(const char* text, bool /*yes_no*/);
|
||||||
|
#endif
|
||||||
|
|
||||||
CFrame* main_frame = NULL;
|
CFrame* main_frame = NULL;
|
||||||
CCodeWindow* g_pCodeWindow = NULL;
|
CCodeWindow* g_pCodeWindow = NULL;
|
||||||
|
|
||||||
@ -87,8 +91,8 @@ bool DolphinApp::OnInit()
|
|||||||
_CrtSetDbgFlag(tmpflag);
|
_CrtSetDbgFlag(tmpflag);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WIN32
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
// RegisterPanicAlertHandler(&wxPanicAlert);
|
RegisterPanicAlertHandler(&wxPanicAlert);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
Reference in New Issue
Block a user