Palette managing

kenon at go2.pl kenon at go2.pl
Fri Mar 9 21:43:48 CST 2001


Hi

In file windows/painting.c in function RealizePalette16

I found that line 1713:
   if (hWnd) SendMessageA( HWND_BROADCAST, WM_PALETTECHANGED, hWnd, 0L);
broke some applications . When I comment it out - every things work
well,
but when I leave it some child-windows are displayed in improper place.
I think this message should be sent only when used entry in COLOR_sysPal
is replaced by new one (function X11DRV_PALETTE_SetMapping in line 907
when index == -1).

Maciek Kaliszewski




More information about the wine-devel mailing list