fixed dragging scrollbar in wxUniv: use wxMouseEvent::Dragging(), not Moving(), for tests (patch 1075176; bug 1053645)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-12-20 01:08:13 +00:00
parent 4d17215498
commit ca1ecff429
2 changed files with 4 additions and 3 deletions

View File

@@ -80,7 +80,8 @@ void wxInputConsumer::OnMouse(wxMouseEvent& event)
{
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;