bring XBM in line with MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2006-02-09 15:09:59 +00:00
parent 1de4364516
commit a395a6243e

View 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 ;