let go of drag object

This commit is contained in:
Grange Nagy
2023-12-03 02:24:13 -05:00
parent 718f9ef859
commit 451d21eaa0

View File

@@ -424,6 +424,7 @@ class FitItem(SFItem.SFBrowserItem):
tdc.SetBrush(wx.Brush(wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOW)))
tdc.DrawRectangle(0, 0, bmpWidth, self.GetRect().height)
self.DrawItem(tdc)
tdc.SelectObject(wx.NullBitmap)
if not self.HasCapture():
self.CaptureMouse()
self.dragWindow = PFBitmapFrame(self, pos, self.dragTLFBmp)