]> git.saurik.com Git - wxWidgets.git/commitdiff
don't take resize indicators into account if we are at 10.7 or higher, they don't...
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 2 Jun 2013 09:57:26 +0000 (09:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 2 Jun 2013 09:57:26 +0000 (09:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/window_osx.cpp

index 14203e39787829921c1889ea53e0234925b1046e..e8337f8c67ff7c07415976cce3239732a441c5c1 100644 (file)
@@ -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();