Solved a typo related to masks. Was setting *all* pixels in the mask
to rgb(0,0,0) - hence no mask at all :-) Corrected related OS/2 code as well (this is where the typo was introduced in the first place) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ffae916f44
commit
28026dc671
@ -563,9 +563,9 @@ SetColor(display, colormap, visual, colorname, color_index,
|
||||
*mask_pixel = 0;
|
||||
#else
|
||||
#ifdef __OS2__
|
||||
*mask_pixel = OS2RGB(0,0,0);
|
||||
*mask_pixel = OS2RGB(255,255,255);
|
||||
#else
|
||||
*mask_pixel = RGB(0,0,0);
|
||||
*mask_pixel = RGB(255,255,255);
|
||||
#endif
|
||||
#endif
|
||||
/* store the color table index */
|
||||
|
Loading…
Reference in New Issue
Block a user