fixing controls with content areas, correcting radiobox layout

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-01-15 11:31:02 +00:00
parent 9c4cb61167
commit 0c530e5a67
6 changed files with 130 additions and 38 deletions

View 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() ;