wxEventLoopImpl::wxCatchAllResponse wxEventLoopImpl::OnCatchAll()
{
switch (::MessageBox(NULL,
wxEventLoopImpl::wxCatchAllResponse wxEventLoopImpl::OnCatchAll()
{
switch (::MessageBox(NULL,
- _T("An unhandled exception occurred. 'Abort' will terminate the program,\r\n"
- "'Retry' will close the current dialog, 'Ignore' will try to continue."),
+ _T("An unhandled exception occurred. 'Abort' will terminate the program,\r\n\
+'Retry' will close the current dialog, 'Ignore' will try to continue."),
_T("Unhandled exception"),
MB_ABORTRETRYIGNORE|MB_ICONERROR|MB_TASKMODAL))
{
_T("Unhandled exception"),
MB_ABORTRETRYIGNORE|MB_ICONERROR|MB_TASKMODAL))
{
// wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or
// something similar here)
#if wxUSE_EXCEPTIONS
// wxModalEventLoop depends on this (so we can't just use ON_BLOCK_EXIT or
// something similar here)
#if wxUSE_EXCEPTIONS
// there is none yet. OTOH, wxCATCH_ALL isn't
// expanded unless wxUSE_EXCEPTIONS, so its
// safe to use throw here.
// there is none yet. OTOH, wxCATCH_ALL isn't
// expanded unless wxUSE_EXCEPTIONS, so its
// safe to use throw here.