X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52b7ece54c7c9231c5c212ac47967fe86db5c144..cb2f2135b0c8966eb353634d1239a5dc6ba09266:/src/generic/vscroll.cpp diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index 492b3ead2c..e6cf0713d8 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -539,7 +539,7 @@ bool wxVarScrollHelperBase::ScrollLayout() return m_targetWindow->wxWindow::Layout(); } -int wxVarScrollHelperBase::HitTest(wxCoord coord) const +int wxVarScrollHelperBase::VirtualHitTest(wxCoord coord) const { const size_t unitMax = GetVisibleEnd(); for ( size_t unit = GetVisibleBegin(); unit < unitMax; ++unit ) @@ -874,10 +874,10 @@ void wxVarHVScrollHelper::RefreshRowsColumns(size_t fromRow, size_t toRow, } } -wxPosition wxVarHVScrollHelper::HitTest(wxCoord x, wxCoord y) const +wxPosition wxVarHVScrollHelper::VirtualHitTest(wxCoord x, wxCoord y) const { - return wxPosition(wxVarVScrollHelper::HitTest(y), - wxVarHScrollHelper::HitTest(x)); + return wxPosition(wxVarVScrollHelper::VirtualHitTest(y), + wxVarHScrollHelper::VirtualHitTest(x)); } void wxVarHVScrollHelper::DoPrepareDC(wxDC& dc)