Module: wine
Branch: master
Commit: 902afbc65b4c7f4a71433df9c3738f103102a27f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=902afbc65b4c7f4a71433df9c…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com>
Date: Tue Jan 20 01:41:36 2009 -0500
richedit: Prevented using NULL hwnd for certain operations.
Certain operations will simply not be done for windowless richedit
controls, such as WM_PAINT which isn't done for windowless richedit
controls since ITextServices provides a TxDraw method.
---
dlls/riched20/editor.c | 207 ++++++++++++++++++++++++++---------------------
dlls/riched20/editstr.h | 1 +
dlls/riched20/paint.c | 52 ++++++++-----
dlls/riched20/txthost.c | 1 +
4 files changed, 150 insertions(+), 111 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=902afbc65b4c7f4a71433…
Module: wine
Branch: master
Commit: 05c788ac6f464b75c2a55c847a91d3a79261ca8e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05c788ac6f464b75c2a55c847…
Author: Dylan Smith <dylan.ah.smith(a)gmail.com>
Date: Tue Jan 20 01:41:32 2009 -0500
richedit: Used ITextHost methods to avoid using window handle directly.
The methods in ITextHost are mostly thin wrappers around functions that
take a handle to a window as their first parameter. This patch just
uses the wrapper functions provided by ITextHost instead of using the
functions that require a handle to a window that the editor might now
have (for windowless richedit controls).
---
dlls/riched20/caret.c | 22 ++++++------
dlls/riched20/context.c | 4 +-
dlls/riched20/editor.c | 79 +++++++++++++++++++++++++----------------------
dlls/riched20/editor.h | 2 +-
dlls/riched20/paint.c | 47 ++++++++++++++++------------
dlls/riched20/para.c | 4 +-
dlls/riched20/run.c | 12 +++---
dlls/riched20/table.c | 2 +-
dlls/riched20/wrap.c | 19 +++++------
9 files changed, 100 insertions(+), 91 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=05c788ac6f464b75c2a55…