aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-09-10 10:37:07 +1000
committernyamatongwe <unknown>2011-09-10 10:37:07 +1000
commit32bfc6616f272cb084055d7d9841c37d4ddfc87c (patch)
treed8a64fa6f7684d6873cc4655dac335d3bf9f914a /win32/PlatWin.cxx
parenta7b0ced39bdf5665c6a7fa4c3a04f449920237e0 (diff)
downloadscintilla-mirror-32bfc6616f272cb084055d7d9841c37d4ddfc87c.tar.gz
Make compatible with VC98's version of the SDK.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
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;