Fix the size of the font returned from wxTextCtrl::GetStyle() in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Jan 2012 17:57:11 +0000 (17:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Jan 2012 17:57:11 +0000 (17:57 +0000)
commitbe74a2a21a491f5d0ec6a333b2fdc4bedb578eaa
tree5081cee0c2002826071b20584552648f0659f372
parent821073e3869477d4d3b365f2bd30a2b264ae486a
Fix the size of the font returned from wxTextCtrl::GetStyle() in wxMSW.

Due to a typo the size was expressed in 1/10th of a point and not in points.
Fix this and add a unit test checking that GetStyle() returns the same font as
was set by SetStyle().

Closes #2120.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/textctrl.cpp
tests/controls/textctrltest.cpp