fixed compilation for strict ANSI compilers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-25 22:38:01 +00:00
parent 29e1cfc224
commit d0eb7e5699

View File

@@ -403,12 +403,12 @@ static const int GRID_HASH_SIZE = 100;
// private functions // private functions
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
static inline GetScrollX(int x) static inline int GetScrollX(int x)
{ {
return (x + GRID_SCROLL_LINE_X - 1) / GRID_SCROLL_LINE_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; return (y + GRID_SCROLL_LINE_Y - 1) / GRID_SCROLL_LINE_Y;
} }