]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer...
[wxWidgets.git] / src / generic / sashwin.cpp
index fc30aba8219b5540ef3bfbc1a2db3e28c08503a1..e4f50b756ed3d39bcc7d37f93c174f49f28407d2 100644 (file)
@@ -289,7 +289,7 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
            ReleaseMouse();
         m_mouseCaptured = false;
     }
-    else if (event.Moving() && !event.Dragging())
+    else if ((event.Moving() || event.Leaving()) && !event.Dragging())
     {
         // Just change the cursor if required
         if ( sashHit != wxSASH_NONE )