]> git.saurik.com Git - wxWidgets.git/commitdiff
Added extra width for controls to avoid edge being clipped
authorJulian Smart <julian@anthemion.co.uk>
Wed, 20 Jun 2007 15:36:26 +0000 (15:36 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 20 Jun 2007 15:36:26 +0000 (15:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toolbar.cpp

index df5f25ccb0f4f9fb792f2eec93c692978f60ff09..1b7cef3e5fb4b7c46745456281eee54b4acd9136 100644 (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 ;