changed exceptions handling to work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1081,6 +1081,14 @@ void wxEvtHandler::ClearEventLocker()
|
||||
|
||||
#endif // wxUSE_THREADS
|
||||
|
||||
#if wxUSE_EXCEPTIONS
|
||||
void wxEvtHandler::DoHandleEvent(wxEventFunction func, wxEvent& event)
|
||||
{
|
||||
// by default, just call then handler
|
||||
(this->*func)(event);
|
||||
}
|
||||
#endif // wxUSE_EXCEPTIONS
|
||||
|
||||
void wxEvtHandler::AddPendingEvent(wxEvent& event)
|
||||
{
|
||||
// 1) Add event to list of pending events of this event handler
|
||||
|
Reference in New Issue
Block a user