Fix Subclassing To Support Nested Messages

Robert Shearman R.J.Shearman at warwick.ac.uk
Wed Mar 10 23:51:59 CST 2004


Hi,

This bug kept me amused for a few hours. If a subclassed window received
a WM_PAINT message, for example, then DefWndProc would fire off a
WM_ERASEBKGND to the subclassed window proc again. Previously this would
call the original procedure immediately as it didn't save
stack->stackpos across nested messages and the subclassing proc wouldn't
receive the message. This patch fixes this bug.

Changelog:
Fix Subclassing To Support Nested Messages

-------------- next part --------------
A non-text attachment was scrubbed...
Name: subclass.diff
Type: text/x-patch
Size: 2508 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040311/c389f371/subclass.bin


More information about the wine-patches mailing list