comdlg32-colordlg fix bgcolor
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jan 31 22:00:05 CST 2007
"Ivan Sinitsin" <ivan at etersoft.ru> wrote:
> The patch corrects background color of a dialogue window " Choose color " at
> copying a triangular marker, the user colors and the predetermined colors.
> Earlier the background about these elements was more dark than the basic
> background of a window.
> + SetClassLongPtrW( hwnd, GCLP_HBRBACKGROUND, (LONG_PTR) GetSysColorBrush(COLOR_BTNFACE));
This fix is not correct, think for instance about different color themes.
Probably CC_PaintTriangle needs to specify the background color of a triangle
explicitly.
--
Dmitry.
More information about the wine-devel
mailing list