Alexandre Julliard <[EMAIL PROTECTED]> wrote:
>> Perhaps a cleaner way will be to convert
>> (*pSetText) driver function to unicode, convert WND.text to LPWSTR
>> and localize this hack to x11drv only?
>
>That would be much better yes. We don't want the actual window text to
>be mapped, only what we pass to X11; otherwise it will break apps that
>need WM_GETTEXT to retrieve what was set with WM_SETTEXT.
On the related note: is it really necessary to allocate buffer for
window text on the system heap? Window lives as much time as its process
heap anyway.
Dmitry.