]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation for strict ANSI compilers
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Dec 2001 22:38:01 +0000 (22:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Dec 2001 22:38:01 +0000 (22:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 527c9dc906695c30f6ca5d78c90d4f2f6e29da68..4ff5e599b6cf7eb525404b631abca266a256b255 100644 (file)
@@ -403,12 +403,12 @@ static const int GRID_HASH_SIZE = 100;
 // private functions
 // ----------------------------------------------------------------------------
 
-static inline GetScrollX(int x)
+static inline int GetScrollX(int x)
 {
     return (x + GRID_SCROLL_LINE_X - 1) / GRID_SCROLL_LINE_X;
 }
 
-static inline GetScrollY(int y)
+static inline int GetScrollY(int y)
 {
     return (y + GRID_SCROLL_LINE_Y - 1) / GRID_SCROLL_LINE_Y;
 }