X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2a10cdc48bd349914b382352c18d8cfcd69f3b8..06aa2a5508ab2bcdd69e6c5f6660c96e79b35f3d:/wxPython/demo/wxDragImage.py diff --git a/wxPython/demo/wxDragImage.py b/wxPython/demo/wxDragImage.py index 8814df9c04..1c99d25f1d 100644 --- a/wxPython/demo/wxDragImage.py +++ b/wxPython/demo/wxDragImage.py @@ -100,8 +100,12 @@ class DragCanvas(wxScrolledWindow): EVT_LEFT_DOWN(self, self.OnLeftDown) EVT_LEFT_UP(self, self.OnLeftUp) EVT_MOTION(self, self.OnMotion) + EVT_LEAVE_WINDOW(self, self.OnLeaveWindow) + def OnLeaveWindow(self, evt): + pass + def TileBackground(self, dc): # tile the background bitmap