Give controls more width to avoid edge being clipped

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-06-20 15:35:54 +00:00
parent 4bfc438fd5
commit a2a50c2dfe

View File

@@ -704,6 +704,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 ;