Module: wine Branch: master Commit: 05c788ac6f464b75c2a55c847a91d3a79261ca8e URL: http://source.winehq.org/git/wine.git/?a=commit;h=05c788ac6f464b75c2a55c847a...
Author: Dylan Smith dylan.ah.smith@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=05c788ac6f464b75c2a55c...