https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54402 --> https://bugs.winehq.org/attachment.cgi?id=54402 patch
Application creates custom caret bitmap as 'background ^ caretcolor', so when caret is displayed over background it gets proper color (background is not necessary solid filled, this is handled as well). We create a copy of this custom bitmap, but later it fails to display - bitmap fails select to target window context.
This patch fixes it for me, please give it a try.