git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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;
}