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:
@@ -270,10 +270,10 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if wxMAC_USE_NATIVE_TOOLBAR
|
//#if wxMAC_USE_NATIVE_TOOLBAR
|
||||||
// todo verify whether HIToolBox is giving correct sizes here for the tlw
|
// todo verify whether HIToolBox is giving correct sizes here for the tlw
|
||||||
if ( y ) *y -= h;
|
if ( y ) *y -= h;
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // wxUSE_TOOLBAR
|
#endif // wxUSE_TOOLBAR
|
||||||
|
Reference in New Issue
Block a user