Remove documentation of inexistent wxEvtHandler::TryThis().

This method existed only briefly and was replaced by Try{Before,After}().

Closes #14012.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-02-20 21:56:59 +00:00
parent af46dd7bb8
commit a0bf1b587f

View File

@@ -535,7 +535,7 @@ public:
the chain until the event is processed or the chain is exhausted. the chain until the event is processed or the chain is exhausted.
This function is called from ProcessEvent() and, in turn, calls This function is called from ProcessEvent() and, in turn, calls
TryThis() for each handler in turn. It is not virtual and so cannot be TryBefore() and TryAfter(). It is not virtual and so cannot be
overridden but can, and should, be called to forward an event to overridden but can, and should, be called to forward an event to
another handler instead of ProcessEvent() which would result in a another handler instead of ProcessEvent() which would result in a
duplicate call to TryAfter(), e.g. resulting in all unprocessed events duplicate call to TryAfter(), e.g. resulting in all unprocessed events
@@ -1153,25 +1153,6 @@ protected:
*/ */
virtual bool TryBefore(wxEvent& event); virtual bool TryBefore(wxEvent& event);
/**
Try to process the event in this event handler.
This method is called from ProcessEventLocally() and thus, indirectly,
from ProcessEvent(), please see the detailed description of the event
processing logic there.
It is currently @em not virtual and so may not be overridden.
@since 2.9.1
@param event
Event to process.
@return
@true if this object itself defines a handler for this event and
the handler didn't skip the event.
*/
bool TryThis(wxEvent& event);
/** /**
Method called by ProcessEvent() as last resort. Method called by ProcessEvent() as last resort.