Added extra width for controls to avoid edge being clipped

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-06-20 15:36:26 +00:00
parent 079b2f6ba2
commit 9b7835a516

View File

@ -699,6 +699,9 @@ static pascal OSStatus ControlToolbarItemHandler( EventHandlerCallRef inCallRef,
sz = wxSize(0,0) ;
}
// Extra width to avoid edge of combobox being cut off
sz.x += 3;
HISize min, max;
min.width = max.width = sz.x ;
min.height = max.height = sz.y ;