Skip to content

Return event processed status from Win32 Render Window event handlers

The Windows event handler functions (OnEVENT) of vtkWin32RenderWindowInteractor return a value indicating whether the event was processed or not so the event can be propagated, if needed.

Previously, the return value of these methods passed on the return value of InvokeEvent. The InvokeEvent function, however, returned 1 if the event was aborted and 0 otherwise (i.e. event processed or not).

The OnEVENT functions have been updated to return 1 if the event is handled and 0 otherwise, as expected.

Merge request reports