]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/inpcons.cpp
[ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
[wxWidgets.git] / src / univ / inpcons.cpp
index 8e52a895f43465f9ef9d8a0af8154de29b9065e7..793efab2fe6bb38b034e81d409ffa5dfc0d49b87 100644 (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;