]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
don't take resize indicators into account if we are at 10.7 or higher, they don't...
[wxWidgets.git] / 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();