Changed several places using hard-coded size values to use FromDIP instead.

This commit is contained in:
Steve Browne
2015-11-24 12:21:43 -05:00
parent 6d38fb81dc
commit 633d04ca92
8 changed files with 14 additions and 10 deletions

View File

@@ -1223,7 +1223,7 @@ void wxComboCtrlBase::CalculateAreas( int btnWidth )
// Make very small buttons square, as it makes
// them accommodate arrow image better and still
// looks decent.
if ( height > 18 )
if ( height > FromDIP(18) )
butWidth = (height*butWidth)/bestHeight;
else
butWidth = butHeight;