Fix wrong comment in the scroll sample.

Fix coordinates in the comment to match those used by the code.

Closes #15804.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-01-04 21:58:46 +00:00
parent 8920e96933
commit 47a2c12a32

View File

@ -343,7 +343,7 @@ private:
}
// Second cell: (0,200)(100,25)
// Second cell: (200,0)(100,25)
// It it on screen?
if ((200+100-scroll_x > 0) && (0+25-scroll_y > 0) &&
(200-scroll_x < size_x) && (0-scroll_y < size_y))