]> git.saurik.com Git - wxWidgets.git/commitdiff
bring XBM in line with MSW
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Feb 2006 15:09:59 +0000 (15:09 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 9 Feb 2006 15:09:59 +0000 (15:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/bitmap.cpp

index 2db229a90f5ccb5eada7aa7807ce5d2f5d6c24e4..02e6c39d6cbd55630ff4c17d4e8ca1fb548f5ae9 100644 (file)
@@ -802,7 +802,7 @@ wxBitmap::wxBitmap(const char bits[], int the_width, int the_height, int no_bits
                 bit = x % 8 ;
                 mask = 1 << bit ;
 
-                if ( linestart[index] & mask )
+                if ( !(linestart[index] & mask ) )
                 {
                     *destination++ = 0xFF ;
                     *destination++ = 0 ;