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:
@@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user