From 0e57ed18518d0417759346541dd3c60e1f3e5e8e Mon Sep 17 00:00:00 2001 From: valid-ptr Date: Tue, 19 Jul 2022 17:12:10 +0300 Subject: [PATCH] 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. --- src/aui/floatpane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index 628626de9d..fac030ca96 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -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)