]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DragImage.py
First pass at integrating a code generator in XRCed. Initial patch
[wxWidgets.git] / 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