git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40909
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( wxwindow )
{
wxSize sz = wxwindow->GetSize() ;
if ( wxwindow )
{
wxSize sz = wxwindow->GetSize() ;
+ sz.x -= wxwindow->MacGetLeftBorderSize() + wxwindow->MacGetRightBorderSize();
+ sz.y -= wxwindow->MacGetTopBorderSize() + wxwindow->MacGetBottomBorderSize();
// during toolbar layout the native window sometimes gets negative sizes
// so we always keep the last valid size here, to make sure we survive the
// shuffle ...
// during toolbar layout the native window sometimes gets negative sizes
// so we always keep the last valid size here, to make sure we survive the
// shuffle ...