Add demo showing drawing of an image with an Alpha channel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,6 +51,7 @@ class DragCanvas(wx.ScrolledWindow):
|
||||
# Make a shape from an image and mask. This one will demo
|
||||
# dragging outside the window
|
||||
bmp = images.getTestStarBitmap()
|
||||
##bmp = wx.Bitmap('bitmaps/toucan.png')
|
||||
shape = DragShape(bmp)
|
||||
shape.pos = (5, 5)
|
||||
shape.fullscreen = True
|
||||
|
Reference in New Issue
Block a user