[HighGUI] Updated mouse wheel delta to reside within the 'flags' variable. Updated C++ API.

This commit is contained in:
Adi Shavit
2014-01-12 09:33:08 +02:00
parent fecd5c994b
commit e45cf2173f
4 changed files with 12 additions and 5 deletions

View File

@@ -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;
{