Fix regression in AUI floating pane positioning when dragging

Fix position updating broken since the recent changes of e777a82bfd (Fix
AUI floating position mismatch, 2022-05-25).

See #22533.

Closes #22651.
This commit is contained in:
valid-ptr 2022-07-19 17:12:10 +03:00 committed by Vadim Zeitlin
parent 7bfad4984c
commit 0e57ed1851

View file

@ -207,7 +207,7 @@ void wxAuiFloatingFrame::OnMoveEvent(wxMoveEvent& event)
if (m_ownerMgr)
{
m_ownerMgr->GetPane(m_paneWindow).
floating_pos = event.GetPosition();
floating_pos = GetRect().GetPosition();
}
if (!m_solidDrag)