RICHEDIT once again

Krzysztof Foltman kfoltman at
Sun Jan 30 17:04:01 CST 2005

Rob Shearman wrote:

> There are a few HGDIOBJ casts as well as the already mentioned ALLOC_OBJ 
> macro. For example, in paint.c:
>          DeleteObject((HGDIOBJ)hbr);

Yes, both are HANDLEs, so they don't really need a cast. I've probably 
written too much MFC code in my life :)

I've deleted all HGDIOBJ casts, but I'm not sure if it's the only case 
of redundant casts.


More information about the wine-devel mailing list