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
This commit is contained in:
Robin Dunn 2006-01-21 07:07:28 +00:00
parent 2f8102974b
commit e1cceb75f0

View 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