SetClientSize(size);
}
+
+ if (pane.IsFixed())
+ {
+ SetWindowStyleFlag(GetWindowStyleFlag() & ~wxRESIZE_BORDER);
+ }
}
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());
}
}
// functionality to wxWidgets itself)
bool wxAuiFloatingFrame::isMouseDown()
{
- return wxGetMouseState().LeftDown();
+ return wxGetMouseState().LeftIsDown();
}