X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dcc6f22870613bff993a26bd512c38fe29d56ba..64e941edd4c6ff84e75e98ec551c42096f31ec77:/wxPython/demo/BitmapFromBuffer.py diff --git a/wxPython/demo/BitmapFromBuffer.py b/wxPython/demo/BitmapFromBuffer.py index 2f72f6a02e..4fd8bae649 100644 --- a/wxPython/demo/BitmapFromBuffer.py +++ b/wxPython/demo/BitmapFromBuffer.py @@ -77,7 +77,7 @@ class TestPanel(wx.Panel): # Make a bitmap using an array of RGB bytes plus a separate # buffer for the alpha channel bpp = 3 # bytes per pixel - bytes = array.array('B', [1,2,3] * width*height)#*bpp) + bytes = array.array('B', [0] * width*height*bpp) def offset(x, y): # return the offset into the bytes array for the start of