diff options
author | nyamatongwe <devnull@localhost> | 2011-09-10 10:37:07 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-09-10 10:37:07 +1000 |
commit | 80a98b34514149d26579efa883ecedd6eb671aec (patch) | |
tree | 05aaa47a9af857d6f52b0623b934acb7459c618d | |
parent | 87e2aa1fff7ab0cf0646499b42687a5b00fbf6b4 (diff) | |
download | scintilla-mirror-80a98b34514149d26579efa883ecedd6eb671aec.tar.gz |
Make compatible with VC98's version of the SDK.
-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; |