Added note about (not) multiply inheriting from wxEvtHandler which includes
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
This commit is contained in:
parent
2d93e5a259
commit
a685e84a97
@ -4,6 +4,12 @@ A class that can handle events from the windowing system.
|
|||||||
wxWindow (and therefore all window classes) are derived from
|
wxWindow (and therefore all window classes) are derived from
|
||||||
this class.
|
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}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
\helpref{wxObject}{wxobject}
|
\helpref{wxObject}{wxobject}
|
||||||
|
Loading…
Reference in New Issue
Block a user