richedit: Fixed the selectionbar width

Dylan Smith dylan.ah.smith at gmail.com
Fri Jul 4 15:02:47 CDT 2008


The selectionbar appears on the left side of the richedit control if the
style is ES_SELECTIONBAR style flag is used.  It's size can be tested by
opening up Wine's wordpad, entering a letter (I used 'l'), take a
screenshot with the printscreen key, and measuring the size in a paint
program while zoomed in.

I found that native richedit controls use a default selection bar width
of 9, rather than 16 that was previously used by Wine.

I double checked the size of the selection bar by comparing on Ubuntu
and on Windows with Wine's wordpad, with native, builtin, and the
patched builtin riched20.dll on both platforms.
---
 dlls/riched20/editor.c  |    4 ++--
 dlls/riched20/editstr.h |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Fixed-the-selectionbar-width.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080704/61646031/attachment.txt 


More information about the wine-patches mailing list