git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31083
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if ( m_inputHandler )
{
- if ( event.Moving() || event.Entering() || event.Leaving() )
+ if ( event.Moving() || event.Dragging() ||
+ event.Entering() || event.Leaving() )
{
if ( m_inputHandler->HandleMouseMove(this, event) )
return;
if ( m_winCapture )
{
- if ( (m_htLast == wxHT_SCROLLBAR_THUMB) && event.Moving() )
+ if ( (m_htLast == wxHT_SCROLLBAR_THUMB) && event.Dragging() )
{
// make the thumb follow the mouse by keeping the same offset
// between the mouse position and the top/left of the thumb
bool isArrow = scrollbar->GetArrows().HandleMouseMove(event);
- if ( event.Moving() )
+ if ( event.Dragging() )
{
wxHitTest ht = m_renderer->HitTestScrollbar
(