]> git.saurik.com Git - wxWidgets.git/commitdiff
Since this window draws its own background, set the custom bg style.
authorRobin Dunn <robin@alldunn.com>
Sat, 21 Jan 2006 07:07:28 +0000 (07:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 21 Jan 2006 07:07:28 +0000 (07:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/DragImage.py

index c03fd9292c15ad2f5910234a90d7e3dc9025aa63..cb9156bd4745d77cb4be62fbc1613622a6118ff4 100644 (file)
@@ -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