From: Stefan Csomor Date: Sun, 2 Jun 2013 09:57:26 +0000 (+0000) Subject: don't take resize indicators into account if we are at 10.7 or higher, they don't... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b206de3205485d803d72a7ba3d89e2b35116ca34?ds=inline don't take resize indicators into account if we are at 10.7 or higher, they don't exist anymore … see #15187 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 14203e3978..e8337f8c67 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -2190,7 +2190,8 @@ bool wxWindowMac::MacHasScrollBarCorner() const const wxFrame *frame = wxDynamicCast( win, wxFrame ) ; if ( frame ) { - if ( frame->GetWindowStyleFlag() & wxRESIZE_BORDER ) + // starting from 10.7 there are no resize indicators anymore + if ( (frame->GetWindowStyleFlag() & wxRESIZE_BORDER) && UMAGetSystemVersion() < 0x1070) { // Parent frame has resize handle wxPoint frameBottomRight = frame->GetScreenRect().GetBottomRight();