]> git.saurik.com Git - wxWidgets.git/commitdiff
Better vertical height for choice/combo
authorJulian Smart <julian@anthemion.co.uk>
Mon, 6 Nov 2006 13:00:02 +0000 (13:00 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 6 Nov 2006 13:00:02 +0000 (13:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/choice.cpp

index 677acc8cfe53c962bae60d1d0f2dccc5ac598189..b0ba01d97debc5e1cddc9b5957889e335439a923 100644 (file)
@@ -359,6 +359,7 @@ wxSize wxChoice::DoGetBestSize() const
         wxCoord width, height ;
         dc.GetTextExtent( wxT("X"), &width, &height);
         int cx = width ;
+        lbHeight += 4;
 #else
         // And just a bit more
         int cx = ::TextWidth( "X" , 0 , 1 ) ;