Page 1 of 1

Stop [ALT key + Left Mouse drag] event propagation to OS (Linux)

Posted: Tue Oct 27, 2015 4:14 pm
by rajan_m
Hi,

I've a frame with wxGLCanvas which uses wxKeyEvent and wxMouseEvent for various operation.
User can do [ALT key + Left Mouse drag] to draw a rectangle in the canvas.
It works fine in windows but in linux it moves the frame.

How to disable that behavior so that only my application should handle that event and not by the OS?

wxWidgets 2.8.10
RHEL 5

Regards,
Rajan.M