Update AUI floating windows position and not just size on resize.

When a window is resized, its position can change as well as its size but it
wasn't updated before. Do it now.

Closes #11421.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-05-31 14:59:18 +00:00
parent 6695aca2e2
commit 76e1326add
4 changed files with 9 additions and 5 deletions

View File

@@ -157,11 +157,11 @@ wxAuiManager* wxAuiFloatingFrame::GetOwnerManager() const
}
void wxAuiFloatingFrame::OnSize(wxSizeEvent& event)
void wxAuiFloatingFrame::OnSize(wxSizeEvent& WXUNUSED(event))
{
if (m_owner_mgr)
{
m_owner_mgr->OnFloatingPaneResized(m_pane_window, event.GetSize());
m_owner_mgr->OnFloatingPaneResized(m_pane_window, GetRect());
}
}