Replace public wxEvtHandler::ProcessEventHere() with private TryHere().
ProcessEventHere() doesn't have to be public any more now that we have ProcessEventLocally() which is safe to call from the outside (i.e. doesn't forget about the chained event handlers and validators). Still keep this function because it makes the code more modular and also because we might want to make it virtual for consistency with TryBefore() and TryAfter() later. Also rename it to TryHere() to make the symmetry with these functions more manifest. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1846,8 +1846,8 @@ public:
|
||||
This method is similar to ProcessWindowEvent() but can be used to
|
||||
search for the event handler only in this window and any event handlers
|
||||
pushed on top of it. Unlike ProcessWindowEvent() it won't propagate the
|
||||
event upwards. But unlike wxEvtHandler::ProcessEventHere() it will use
|
||||
the event handlers associated with this window.
|
||||
event upwards. But it will use the validator and event handlers
|
||||
associated with this window, if any.
|
||||
|
||||
@since 2.9.1
|
||||
*/
|
||||
|
Reference in New Issue
Block a user