]> git.saurik.com Git - wxWidgets.git/commit
No real changes, just simplify wxGDIPlusContext::GetTextExtent() a bit.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 17:54:49 +0000 (17:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jun 2012 17:54:49 +0000 (17:54 +0000)
commit6fafab0ea36ba8320e34be700a4dbf2c99aa3ea1
tree867b236ea7eb3b849d847e46572cac004ef1cd65
parentb437ff98b0c61bf7ecdbe57d759917d1eb92a94f
No real changes, just simplify wxGDIPlusContext::GetTextExtent() a bit.

Don't call Font::GetSize() and FontFamily::GetEmHeight() thrice, just do it
once and store the results. This makes the code both simpler and shorter and
marginally more efficient.

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