X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1afad0ac74765ede24df7f069b41e3595dd1c605..c200f9a3b7003a6ef27f079672b7d165b04a59b7:/src/aui/floatpane.cpp?ds=sidebyside diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index f98693a9d1..ef7f35e513 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -144,6 +144,11 @@ void wxAuiFloatingFrame::SetPaneWindow(const wxAuiPaneInfo& pane) SetClientSize(size); } + + if (pane.IsFixed()) + { + SetWindowStyleFlag(GetWindowStyleFlag() & ~wxRESIZE_BORDER); + } } wxAuiManager* wxAuiFloatingFrame::GetOwnerManager() const @@ -318,7 +323,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event) // functionality to wxWidgets itself) bool wxAuiFloatingFrame::isMouseDown() { - return wxGetMouseState().LeftDown(); + return wxGetMouseState().LeftIsDown(); }