Round font sizes in AdjustToSymbolicSize() instead of truncating.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:49 +0000 (15:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 16 Jun 2011 15:13:49 +0000 (15:13 +0000)
commitf76c3ff6775e109cf5c49cfa1f0471543b170ae3
treeace5cdf8b43b6e2bbfc638e285246459fc04deb8
parentdb06cdc08cee40c72854d6a883cf017c2bcc670e
Round font sizes in AdjustToSymbolicSize() instead of truncating.

This was mainly done to suppress g++ warning about implicit float to int
conversion but it also seems to make more sense to round the value here
instead of truncating it to int.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/fontcmn.cpp