]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
implement SetTimes() for directories too under MSW (#10250)
[wxWidgets.git] / src / osx / window_osx.cpp
index 9c41ef118923dc1cbddfd1e41360976a32d1b394..ac75853aa46d6af9ea02f672b1cf25e130132682 100644 (file)
@@ -674,8 +674,8 @@ wxSize wxWindowMac::DoGetSizeFromClientSize( const wxSize & size )  const
     m_peer->GetContentArea( left, top, innerwidth, innerheight );
     m_peer->GetSize( outerwidth, outerheight );
     
-    sizeTotal.x += left + (outerwidth-innerwidth);
-    sizeTotal.y += top + (outerheight-innerheight);
+    sizeTotal.x += outerwidth-innerwidth;
+    sizeTotal.y += outerheight-innerheight;
     
     sizeTotal.x += MacGetLeftBorderSize() + MacGetRightBorderSize() ;
     sizeTotal.y += MacGetTopBorderSize() + MacGetBottomBorderSize() ;