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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user