diff options
author | nyamatongwe <unknown> | 2011-09-10 10:37:07 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-10 10:37:07 +1000 |
commit | 32bfc6616f272cb084055d7d9841c37d4ddfc87c (patch) | |
tree | d8a64fa6f7684d6873cc4655dac335d3bf9f914a /win32/PlatWin.cxx | |
parent | a7b0ced39bdf5665c6a7fa4c3a04f449920237e0 (diff) | |
download | scintilla-mirror-32bfc6616f272cb084055d7d9841c37d4ddfc87c.tar.gz |
Make compatible with VC98's version of the SDK.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 0ccc8aa13..4d937ac81 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2103,7 +2103,7 @@ LRESULT ListBoxX::WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam return ::DefWindowProc(hWnd, iMessage, wParam, lParam); case WM_MOUSEWHEEL: - wheelDelta -= GET_WHEEL_DELTA_WPARAM(wParam); + wheelDelta -= static_cast<short>(HIWORD(wParam)); if (abs(wheelDelta) >= WHEEL_DELTA) { int nRows = GetVisibleRows(); int linesToScroll = 1; |