EVT_ENTER_WINDOW while LeftIsDown()

Eran Ifrah eran.ifrah at gmail.com
Thu Apr 3 02:00:12 PDT 2008


Hi,

OS: Linux, Ubuntu 7.10
WX: 2.87 Unicode Monolithic

In my application, if have several classes derived from wxPanel placed
inside a vertical sizer.

Each derived class, handles the following mouse events:

EVT_ENTER_WINDOW
EVT_LEAVE_WINDOW
EVT_LEFT_UP
EVT_LEFT_DOWN

When the mouse left button is pressed - I correctly receive the
EVT_LEFT_DOWN event, but if I now start to move the cursor to the next
window in the sizer while the left button is still pressed, the event
EVT_ENTER_WINDOW is never captured. However, the EVT_LEAVE_WINDOW is
properly captured.

Of course this works correctly if the mouse is not being pressed while
entering the Window.

The problem occurs only on Linux, on Windows it works fine.

Any ideas?

-- =

Eran Ifrah
eran.ifrah at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080403/42c=
58e94/attachment.htm


More information about the wx-users mailing list