Move notifies around to match native

Vitaliy Margolen wine-devel at kievinfo.com
Sat Apr 16 01:05:09 CDT 2005


Thursday, April 14, 2005, 2:49:45 PM, you wrote:
> {Set,Get}DCBrushColor do something different to what you expect. They
> set the DC_BRUSH colour, not the colour of the current brush selected 
> into the DC. You can get select it into the DC using 
> SelectObject(GetStockObject(DC_BRUSH)). The concept was probably 
> introduced for this very use though, so you don't have to create a 
> temporary solid brush and then delete it again.

Ah, I see. Thank you for an explanation! It's name a bit misleading then (what a
surprise). I was using those for traces, and it got me more confused. Shouldn't
affect my patch since I used Set(Bk/Text)Color. Still waiting on AJ.

Vitaliy





More information about the wine-devel mailing list