X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/944975221d770af8efe0e03ab4e339b5432e3dd9..adc620811a415e8a715c6eac14bdc8fa096ca408:/src/aui/floatpane.cpp diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index 2c4a256215..99e80894e3 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -144,7 +144,7 @@ void wxAuiFloatingFrame::SetPaneWindow(const wxAuiPaneInfo& pane) SetClientSize(size); } - + if (pane.IsFixed()) { SetWindowStyleFlag(GetWindowStyleFlag() & ~wxRESIZE_BORDER); @@ -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()); } } @@ -323,7 +323,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event) // functionality to wxWidgets itself) bool wxAuiFloatingFrame::isMouseDown() { - return wxGetMouseState().LeftDown(); + return wxGetMouseState().LeftIsDown(); }