X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/454968101428f2c2b3d836c1132572d3ef2708d9..b35549525f2a8dd584fdda158829e8406da0541e:/src/aui/floatpane.cpp diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index ef7f35e513..99e80894e3 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -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()); } }