wxDC::DrawBitmap() monochrome colors reversed?
Ian Britten
britten at caris.com
Thu Oct 26 06:25:03 PDT 2006
Vadim Zeitlin wrote:
> On Thu, 19 Oct 2006 09:24:00 +0200 Christian Walther <walther at indel.ch> wrote:
>
> CW> The documentation for wxDC::DrawBitmap() says: "When drawing a
> CW> mono-bitmap, the current text foreground colour will be used to draw the
> CW> foreground of the bitmap (all bits set to 1), and the current text
> CW> background colour to draw the background (all bits set to 0)."
> CW>
> CW> What I observe on wxMSW 2.6.3 and wxMac 2.6.3, however, seems to be the
> CW> reverse.
>
> Yes, this was wrong and it was fixed in cvs HEAD.
Phew! I thought I was going crazy, trying to figure out why my code
worked on GTK and not MSW... :-P
What version does this mean it'll be in? 2.6.4? 2.7.x? 2.8.0?
[ Sorry, I'm not familiar with your branching/release strategy... ]
Thanks
Ian
More information about the wx-users
mailing list