Correctly calculate ClientSize when using native

toolbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2005-07-31 13:03:47 +00:00
parent 996994c714
commit 2db1b1c0be

View File

@ -270,10 +270,10 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
}
else
{
#if wxMAC_USE_NATIVE_TOOLBAR
//#if wxMAC_USE_NATIVE_TOOLBAR
// todo verify whether HIToolBox is giving correct sizes here for the tlw
if ( y ) *y -= h;
#endif
//#endif
}
}
#endif // wxUSE_TOOLBAR