Really fix setting fonts in RichEdit 4.1 controls.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 2010 16:26:35 +0000 (16:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 2010 16:26:35 +0000 (16:26 +0000)
commit179c657bc74a4a1161383fb5229813a4177b6c03
treee5588a3f0d98e263ebed466a65d861f2eaeda90f
parenta8abba41bc63336be1f6002b041578e79c473d24
Really fix setting fonts in RichEdit 4.1 controls.

The fix applied in r64394 wasn't enough and the control could still decide to
overwrite the font used by default when non-ASCII characters were inserted
into it. To really force it to use the font we want we apparently must send it
EM_SETCHARFORMAT with SCF_ALL flag (MSDN also documents SCF_DEFAULT but it's
not clear if we should use it instead or together with SCF_ALL, for now it
doesn't seem to be necessary).

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