From a395a6243e2e978891b6967fe69cec78da3d4d1d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 9 Feb 2006 15:09:59 +0000 Subject: [PATCH] bring XBM in line with MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/bitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;