Better vertical height for choice/combo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-11-06 13:00:02 +00:00
parent 6716fce439
commit 53cc4e7005

View 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 ) ;