]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix refreshs for wxGTK.
authorStefan Neis <Stefan.Neis@t-online.de>
Wed, 9 Feb 2000 14:29:25 +0000 (14:29 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Wed, 9 Feb 2000 14:29:25 +0000 (14:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index bcf0c8d7b50ffe0a44ba1500e72af868b0b58456..3264306ecee4e299645c3779d36f6fd27acee181 100644 (file)
@@ -1461,6 +1461,7 @@ void wxGrid::CalcCellsExposed( wxRegion& reg )
         CalcUnscrolledPosition( r.GetLeft(), r.GetTop(), &left, &top );
         CalcUnscrolledPosition( r.GetRight(), r.GetBottom(), &right, &bottom );
 
+       left++; top++; 
         // find the cells within these bounds
         //
         int row, col;