moved OnExceptionInMainLoop() in .cpp from header

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-05-02 11:16:32 +00:00
parent c2218763d5
commit 78361a0e98
2 changed files with 16 additions and 6 deletions

View File

@@ -284,6 +284,10 @@ int wxAppConsole::FilterEvent(wxEvent& WXUNUSED(event))
return -1;
}
// ----------------------------------------------------------------------------
// exception handling
// ----------------------------------------------------------------------------
#if wxUSE_EXCEPTIONS
void
@@ -295,6 +299,17 @@ wxAppConsole::HandleEvent(wxEvtHandler *handler,
(handler->*func)(event);
}
bool
wxAppConsole::OnExceptionInMainLoop()
{
throw;
// some compilers are too stupid to know that we never return after throw
#if defined(__DMC__) || (defined(_MSC_VER) && _MSC_VER < 1200)
return false;
#endif
}
#endif // wxUSE_EXCEPTIONS
// ----------------------------------------------------------------------------