From: Stefan Csomor Date: Thu, 9 Feb 2006 15:09:59 +0000 (+0000) Subject: bring XBM in line with MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a395a6243e2e978891b6967fe69cec78da3d4d1d?ds=inline bring XBM in line with MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 2db229a90f..02e6c39d6c 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -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 ;