]> git.saurik.com Git - wxWidgets.git/commitdiff
wxEvent::Skip() clarification added
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Mar 1999 12:59:39 +0000 (12:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Mar 1999 12:59:39 +0000 (12:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/tevent.tex

index 2b67f2cfa3e8808f2cd8ea71779bce27ed530915..6434617135f84cf6b9b9c0954067c141b1be7e85 100644 (file)
@@ -82,7 +82,11 @@ system to a native text control by overriding wxTextCtrl and defining a
 handler for key events using EVT\_KEY\_DOWN. This would indeed prevent
 any key events from being sent to the native control - which might not be
 what is desired. In this case the event handler function has to call Skip()
-so as to indicate that it did NOT handle the event at all.
+so as to indicate that the search for the event handler should continue.
+
+To summarize, instead of explicitly calling the base class version as you
+would have done with C++ virtual functions (i.e. {\it wxTextCtrl::OnChar()}),
+you should instead call \helpref{Skip}{wxeventskip}.
 
 In practice, this would look like this if the derived text control only
 accepts 'a' to 'z' and 'A' to 'Z':