]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/floatpane.cpp
Implement wxWindow::DoGetBorderSize() for all ports.
[wxWidgets.git] / src / aui / floatpane.cpp
index ef7f35e513707e75a60b2b777d65043357be919c..99e80894e387af106f6637a40d06290c47c98010 100644 (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());
     }
 }