X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/944975221d770af8efe0e03ab4e339b5432e3dd9..07890fbeb5e65f242e8632ed957c54e188779af2:/src/aui/floatpane.cpp diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index 2c4a256215..ef7f35e513 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); @@ -323,7 +323,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event) // functionality to wxWidgets itself) bool wxAuiFloatingFrame::isMouseDown() { - return wxGetMouseState().LeftDown(); + return wxGetMouseState().LeftIsDown(); }