X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c75a4cf0f94cbe53bfde4fbcddff741158fbc7c..8c94336825149d5f329eaea77ba32ae5b5fd3a31:/wxPython/demo/DragImage.py?ds=sidebyside diff --git a/wxPython/demo/DragImage.py b/wxPython/demo/DragImage.py index c03fd9292c..cb9156bd47 100644 --- a/wxPython/demo/DragImage.py +++ b/wxPython/demo/DragImage.py @@ -47,6 +47,7 @@ class DragCanvas(wx.ScrolledWindow): self.SetCursor(wx.StockCursor(wx.CURSOR_ARROW)) self.bg_bmp = images.getBackgroundBitmap() + self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM) # Make a shape from an image and mask. This one will demo # dragging outside the window