]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/bitmap.cpp
fixed fl makefiles that Julian didn't fix correctly
[wxWidgets.git] / src / mac / bitmap.cpp
index 300609dd86cfeea3d46cb1d0710acec796b47160..2e85e12323ea20762c84129677a8b5c995dbb37a 100644 (file)
@@ -593,7 +593,7 @@ wxBitmap::wxBitmap(const wxImage& image, int depth)
       {
           for (int x = 0; x < width; x++)
           {
-              if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskRed() && data[2] == image.GetMaskRed() )
+              if ( data[0] == image.GetMaskRed() && data[1] == image.GetMaskGreen() && data[2] == image.GetMaskBlue() )
               {
                 SetCPixel(x,y, &white);
               }