From 9b7835a516d1acdeb007bed0c5bb80cae1643416 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 20 Jun 2007 15:36:26 +0000 Subject: [PATCH] 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 --- 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 df5f25ccb0..1b7cef3e5f 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -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 ; -- 2.45.2