remove the now unused GetScroll[XY]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-15 13:36:28 +00:00
parent d438037152
commit 02f3ee3d10
2 changed files with 0 additions and 28 deletions

View File

@@ -1628,18 +1628,6 @@ public:
int GetScrollLineX() const { return m_scrollLineX; }
int GetScrollLineY() const { return m_scrollLineY; }
// Implementation
int GetScrollX(int x) const
{
return (x + GetScrollLineX() - 1) / GetScrollLineX();
}
int GetScrollY(int y) const
{
return (y + GetScrollLineY() - 1) / GetScrollLineY();
}
// ------- drag and drop
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget(wxDropTarget *dropTarget);

View File

@@ -459,22 +459,6 @@ static const size_t GRID_SCROLL_LINE_Y = GRID_SCROLL_LINE_X;
// in these hash tables is the number of rows/columns)
static const int GRID_HASH_SIZE = 100;
#if 0
// ----------------------------------------------------------------------------
// private functions
// ----------------------------------------------------------------------------
static inline int GetScrollX(int x)
{
return (x + GRID_SCROLL_LINE_X - 1) / GRID_SCROLL_LINE_X;
}
static inline int GetScrollY(int y)
{
return (y + GRID_SCROLL_LINE_Y - 1) / GRID_SCROLL_LINE_Y;
}
#endif
// ============================================================================
// implementation
// ============================================================================