// Author: Vadim Zeitlin
// Modified by:
// Created: 22.01.01
-// RCS-ID: $Id$
// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#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;
}
-