summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-07 21:35:29 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-07 21:51:26 +0200
commita9c6211a5229362b9fb6645d0c3a631caaf59790 (patch)
treefe94ffe29d237eb2f9c92703adb9125320237d68 /vcl
parente278c023f77180d6e72640f4204269c7d82dda03 (diff)
Add a comment
Change-Id: Id97c8e2bdbea40db4224147eaabe68a87cd9c08d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window2.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 906d65bb93e4..ba8cc3866829 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1197,6 +1197,12 @@ sal_Bool Window::HandleScrollCommand( const CommandEvent& rCmd,
// -----------------------------------------------------------------------
+// Not that when called for COMMAND_WHEEL above, despite its name,
+// pVScrl isn't necessarily the vertical scroll bar. Depending on
+// whether the scroll is horizontal or vertical, it is either the
+// horizontal or vertical scroll bar. nY is correspondingly either
+// the horizontal or vertical scroll amount.
+
void Window::ImplHandleScroll( ScrollBar* pHScrl, long nX,
ScrollBar* pVScrl, long nY )
{