def OnMouseLeaveWindow(self, event):
"""
Handles the ``wx.EVT_LEAVE_WINDOW`` event for :class:`ImageContainerBase`.
:param `event`: a :class:`MouseEvent` event to be processed.
"""
bRepaint = self._nHoveredImgIdx != -1
self._nHoveredImgIdx = -1
# Make sure the pin button status is NONE
# incase we were in pin button style
style = self.GetParent().GetAGWWindowStyleFlag()
# Restore cursor
wx.SetCursor(wx.StockCursor(wx.CURSOR_ARROW))
#if bRepaint:
# self.Refresh()
评论列表
文章目录