]> git.saurik.com Git - wxWidgets.git/commitdiff
Added note about (not) multiply inheriting from wxEvtHandler which includes
authorDavid Elliott <dfe@tgwbd.org>
Wed, 24 Dec 2003 19:53:29 +0000 (19:53 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 24 Dec 2003 19:53:29 +0000 (19:53 +0000)
a very brief technical overview of how events work.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/evthand.tex

index ab602afed66e9ead8a427673f5f3cbb2cf53774c..8eeb77b11a9b20c3a3a269745de5ef27a2b2856f 100644 (file)
@@ -4,6 +4,12 @@ A class that can handle events from the windowing system.
 wxWindow (and therefore all window classes) are derived from
 this class.
 
+When events are received, wxEvtHandler invokes the method listed in the
+event table using itself as the object.  When using multiple inheritance
+it is imperative that the wxEvtHandler(-derived) class be the first
+class inherited such that the "this" pointer for the overall object
+will be identical to the "this" pointer for the wxEvtHandler portion.
+
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}