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:
parent
996994c714
commit
2db1b1c0be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user