ownerdrawn button fix

Alexandre Julliard julliard at winehq.com
Mon Aug 6 14:07:11 CDT 2001

Aric Stewart <aric at codeweavers.com> writes:

> A full fix would be to make sure we never call the paint function
> directly. However the only time this seems to actually cause a crash is
> with owner drawn. This patch corrected the problem with owner drawn so
> that we do not have to retest everything with buttons.

This seems to defeat the purpose of having the ODA_* constants. Would
it also fix your problem to only do the PAINT_BUTTON when the window
is visible?

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list