document that the parent window gets EVT_LEAVE_WINDOW when the mouse enters one of its children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bc94d944d0
commit
8299991033
@ -9,6 +9,12 @@ left mouse button, {\tt wxMOUSE\_BTN\_MIDDLE} for the middle one and
|
||||
middle button so a portable application should avoid relying on the events from
|
||||
it.
|
||||
|
||||
For the \texttt{wxEVT\_ENTER\_WINDOW} and \texttt{wxEVT\_LEAVE\_WINDOW} events
|
||||
purposes, the mouse is considered to be inside the window if it is in the
|
||||
window client area and not inside one of its children. In other words, the
|
||||
parent window receives \texttt{wxEVT\_LEAVE\_WINDOW} event not only when the
|
||||
mouse leaves the window entirely but also when it enters one of its children.
|
||||
|
||||
{\bf NB:} Note that under Windows CE mouse enter and leave events are not natively supported
|
||||
by the system but are generated by wxWidgets itself. This has several
|
||||
drawbacks: the LEAVE\_WINDOW event might be received some time after the mouse
|
||||
|
Loading…
Reference in New Issue
Block a user