From a2a50c2dfe74132b27fb24cbec9cee4f8b8976d8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 20 Jun 2007 15:35:54 +0000 Subject: [PATCH] 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 --- src/mac/carbon/toolbar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 7315b4cdf4..15e297d622 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -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 ;