On Saturday 26 September 2009 12:09:30 Nikolay Sivov wrote:
> ---
> + if ((style & SS_TYPEMASK) != SS_ICON) return (HICON)-1;
> ...
> + if ((style & SS_TYPEMASK) != SS_BITMAP) return (HBITMAP)-1;
> ...
> + if ((style & SS_TYPEMASK) != SS_ENHMETAFILE) return (HENHMETAFILE)-1;
> ---
>
> Add tests fo
Ilya Shpigor wrote:
Hi,
This patch fix the redrawing static controls after the processing STM_SETIMAGE
and STM_SETICON messages with errors.
---
+ if ((style & SS_TYPEMASK) != SS_ICON) return (HICON)-1;
...
+ if ((style & SS_TYPEMASK) != SS_BITMAP) return (HBITMAP)-1;
...
+ if ((style & SS_