Changed several places using hard-coded size values to use FromDIP instead.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user