documented how to handle C++ exceptions in wxWindows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-17 23:30:25 +00:00
parent 4c39aa3a65
commit 6f054ac5e8

View File

@@ -277,6 +277,19 @@ int wxAppConsole::FilterEvent(wxEvent& WXUNUSED(event))
return -1;
}
#if wxUSE_EXCEPTIONS
void
wxAppConsole::HandleEvent(wxEvtHandler *handler,
wxEventFunction func,
wxEvent& event) const
{
// by default, simply call the handler
(handler->*func)(event);
}
#endif // wxUSE_EXCEPTIONS
// ----------------------------------------------------------------------------
// cmd line parsing
// ----------------------------------------------------------------------------