Reduce flicker in the demo when image is dragged out of the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
203c2f9a9a
commit
d42e29c26f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user