From 47a2c12a32f764bfff83211e703c09a53f2e0983 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Jan 2014 21:58:46 +0000 Subject: [PATCH] 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 --- samples/scroll/scroll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index a24dc49351..0ad49f77bf 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -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))