[HighGUI] Updated mouse wheel delta to reside within the 'flags' variable. Updated C++ API.
This commit is contained in:
@@ -1392,7 +1392,7 @@ MainWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
||||
|
||||
// Set the wheel delta of mouse wheel to be in the upper word of 'event'
|
||||
int delta = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||
event |= (delta << 16);
|
||||
flags |= (delta << 16);
|
||||
|
||||
POINT pt;
|
||||
{
|
||||
|
Reference in New Issue
Block a user