Hello…
I am afraid the “OpenGLComponent::setInterceptsMouseClicks()” method doesn’t work.
It does modify the flags and makes getInterceptsMouseClicks() return accordingly, but at the end of the day, the mouseDown method of the parent is only called when the parent is clicked directly, and not when clicked through its OpenGL child component…
Any idea what could cause it ?
I am pretty sure this is a bug, as when I replace the OpenGL child component with a normal (non-openGL) component, the whole has the expected behaviour.
I am using current version (committed 16 Jun 2010 09:55:00) Platform : Win vista 32bits (though I doubt this is relevant)
Thank you in advance for your help.
Workaround : adding
at the end of the parent’s constructor seems to solve the problem…