It seems to make more sense to round the result to int rather than to truncate it when scaling wxSize or wxPoint coordinates by a floating point number.
It seems to make more sense to round the result to int rather than to truncate it when scaling wxSize or wxPoint coordinates by a floating point number.