richedit: Use width from EM_SETTARGETDEVICE for wrapping.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 2 Feb 2009 06:32:20 +0000 (01:32 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Feb 2009 14:21:44 +0000 (15:21 +0100)
commit1a3551b630eae2418692f21790fcc7fc973f5366
treedbe8c9653919ce6344f431456f58ca2989e7698c
parentf20ba244049f5473369e32df5fe108244da3e180
richedit: Use width from EM_SETTARGETDEVICE for wrapping.

The width for EM_SETTARGETDEVICE is used by some applications to set the
wrapping width to a certain distance in twips.  This can be used even
though the target device is ignored.
dlls/riched20/context.c
dlls/riched20/editor.c
dlls/riched20/editstr.h
dlls/riched20/tests/editor.c
dlls/riched20/wrap.c
dlls/riched32/tests/editor.c