From e1cceb75f05ead2c4c5226db236529ca98ca4db9 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 21 Jan 2006 07:07:28 +0000 Subject: [PATCH] Since this window draws its own background, set the custom bg style. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/DragImage.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.45.2