X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a6384ca1e6e9a84f755dbca28875a5e89267766..77fe7204b5fa4d7f703a3d0bc2f1a4f0363f538d:/src/univ/scrarrow.cpp diff --git a/src/univ/scrarrow.cpp b/src/univ/scrarrow.cpp index 76347bfa07..312bdeee1f 100644 --- a/src/univ/scrarrow.cpp +++ b/src/univ/scrarrow.cpp @@ -24,6 +24,7 @@ #endif #ifndef WX_PRECOMP + #include "wx/window.h" #endif #include "wx/univ/scrtimer.h" @@ -173,7 +174,7 @@ bool wxScrollArrows::HandleMouseMove(const wxMouseEvent& event) const } else // Moving() or Entering(), treat them the same here { - arrow = m_control->HitTest(event.GetPosition()); + arrow = m_control->HitTestArrow(event.GetPosition()); } #if wxUSE_TIMER @@ -234,7 +235,7 @@ bool wxScrollArrows::HandleMouse(const wxMouseEvent& event) const { if ( !m_captureData ) { - Arrow arrow = m_control->HitTest(event.GetPosition()); + Arrow arrow = m_control->HitTestArrow(event.GetPosition()); if ( arrow == Arrow_None ) { // mouse pressed over something else @@ -298,4 +299,3 @@ bool wxScrollArrows::HandleMouse(const wxMouseEvent& event) const return true; } -