Skip to content

Return the MouseWheel event as a pending event in Win32 RenderWindow

Xabi requested to merge Xabi/vtk:release-6.3-mousewheel-pending-event into master

This patch includes the MouseWheel event in the ones returned by vtkWin32OpenGLRenderWindow::GetEventPending, in order to allow the interuption of rendering in the same way as a mouse click. Moreover, it is the case for vtkXOpenGLRenderWindow so it makes sense to consider this as a fix also for 6.x version.

Note: the comment for the WM_MOUSEWHEEL define is taken from vtkWin32RenderWindowInteractor

Merge request reports