user: make A->W WM_GETTEXTLENGTH use WM_GETTEXT [try 2]

Frank Richter frank.richter at gmail.com
Mon Sep 5 11:13:16 CDT 2005


Don't call window proc directly, dispatch WM_GETTEXT with SendMessageW().

Frank Richter <frank.richter at gmail.com>
When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length. This seems to match the behaviour of recent
Windowses and as well fixes a couple of regressions (caused by theming
suddenly making the standard controls Unicode).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: user-AtoW-WM_GETTEXT.diff
Type: text/x-patch
Size: 1307 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050905/1de1986d/user-AtoW-WM_GETTEXT.diff


More information about the wine-patches mailing list