Update the internally stored position of a floating AUI frame even if the user
is dragging it too fast to update its position on screen. This prevents the
frame from snapping back to the initial position when movement is over.
Closes #13014.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67344
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_last3_rect = m_last2_rect;
m_last2_rect = m_last_rect;
m_last_rect = win_rect;
+
+ // However still update the internally stored position to avoid
+ // snapping back to the old one later.
+ if (m_owner_mgr)
+ {
+ m_owner_mgr->GetPane(m_pane_window).
+ floating_pos = win_rect.GetPosition();
+ }
+
return;
}