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:
parent
1de4364516
commit
a395a6243e
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user