mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00: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:
parent
162351d832
commit
03088eee2f
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue