]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/inpcons.cpp
Fix accelerstors with down and left
[wxWidgets.git] / src / univ / inpcons.cpp
index 8e52a895f43465f9ef9d8a0af8154de29b9065e7..e0b85433f0b9c3bad8cb59451bfe155d964068db 100644 (file)
 // declarations
 // ============================================================================
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "inpcons.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -80,7 +76,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;