Fix Subclassing To Support Nested Messages

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


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.

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 :

More information about the wine-patches mailing list