From b206de3205485d803d72a7ba3d89e2b35116ca34 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 2 Jun 2013 09:57:26 +0000 Subject: [PATCH] =?utf8?q?don't=20take=20resize=20indicators=20into=20acco?= =?utf8?q?unt=20if=20we=20are=20at=2010.7=20or=20higher,=20they=20don't=20?= =?utf8?q?exist=20anymore=20=E2=80=A6=20see=20#15187?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/window_osx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.50.0