]> git.saurik.com Git - wxWidgets.git/commit
Fix the size of the font returned by wxTextCtrl::GetStyle() in MSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:33 +0000 (01:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:33 +0000 (01:21 +0000)
commite170515a9b895080d683dc73b2fdc6299eaae2f6
treee3bf63ec2d369b8b4bfb5973c4072d1186ba9f1a
parentc7155388f5e7ba68d3c50c9234348c7012220c9e
Fix the size of the font returned by wxTextCtrl::GetStyle() in MSW.

CHARFORMAT stores height in 1/20th of a point, not pixels. Add the correct
conversion to the units used by LOGFONT.

See #13384.

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