[solved] wxproj.cpp and wx2.5

Bernhard Reiter bernhard at intevation.de
Wed Feb 16 15:15:02 CET 2005


On Wed, Feb 16, 2005 at 08:39:22AM -0500, Jonathan Coles wrote:
> [NOTE: the email i'm responding to here was blocked because of the size
> of the attachment. this email will make sense once that other one has
> been accepted and those patches applied.]
> 
> Am Mittwoch, den 16.02.2005, 08:28 -0500 schrieb Jonathan Coles:
> > now that i have this working, there is a little problem with the raster
> > code that i can now fix. this is not fatal, the mask is just applied
> > incorrectly.
> 
> i've attached a patch. the mask was inverted (1's should have been 0's
> and vice versa). i believe that wx2.4 had it wrong (the behavior didn't
> match the documentation) and i had written the inverse so that it would
> work. wx2.5 corrects the problem so i had to invert my code.
> 
> be aware that this patch will only work for wx2.5.

We should find a way to find out if we are with wx2.5 or higher
so we can have "if"s in the code and check this stuff in.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050216/eb5bbf1b/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)