#endif
#ifndef WX_PRECOMP
+ #include "wx/window.h"
#endif
#include "wx/univ/scrtimer.h"
wxScrollArrows::~wxScrollArrows()
{
// it should have been destroyed
- wxASSERT_MSG( !m_captureData, _T("memory leak in wxScrollArrows") );
+ wxASSERT_MSG( !m_captureData, wxT("memory leak in wxScrollArrows") );
}
// ----------------------------------------------------------------------------
}
else // Moving() or Entering(), treat them the same here
{
- arrow = m_control->HitTest(event.GetPosition());
+ arrow = m_control->HitTestArrow(event.GetPosition());
}
#if wxUSE_TIMER
{
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
return true;
}
-