reverting r43119, fixes #10752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -359,7 +359,6 @@ wxSize wxChoice::DoGetBestSize() const
|
|||||||
wxCoord width, height ;
|
wxCoord width, height ;
|
||||||
dc.GetTextExtent( wxT("X"), &width, &height);
|
dc.GetTextExtent( wxT("X"), &width, &height);
|
||||||
int cx = width ;
|
int cx = width ;
|
||||||
lbHeight += 4;
|
|
||||||
#else
|
#else
|
||||||
// And just a bit more
|
// And just a bit more
|
||||||
int cx = ::TextWidth( "X" , 0 , 1 ) ;
|
int cx = ::TextWidth( "X" , 0 , 1 ) ;
|
||||||
|
Reference in New Issue
Block a user