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

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
rajan_m
Knows some wx things
Knows some wx things
Posts: 39
Joined: Tue Jan 20, 2009 10:37 am
Location: chennai

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

Post 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
Every exit is an entry somewhere else!
Post Reply