fixing capture problem for mouse moved events, fixes #14486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2531,12 +2531,14 @@ void wxWidgetCocoaImpl::SetCursor(const wxCursor& cursor)
|
||||
|
||||
void wxWidgetCocoaImpl::CaptureMouse()
|
||||
{
|
||||
[[m_osxView window] disableCursorRects];
|
||||
// TODO remove if we don't get into problems with cursor settings
|
||||
// [[m_osxView window] disableCursorRects];
|
||||
}
|
||||
|
||||
void wxWidgetCocoaImpl::ReleaseMouse()
|
||||
{
|
||||
[[m_osxView window] enableCursorRects];
|
||||
// TODO remove if we don't get into problems with cursor settings
|
||||
// [[m_osxView window] enableCursorRects];
|
||||
}
|
||||
|
||||
void wxWidgetCocoaImpl::SetFlipped(bool flipped)
|
||||
|
Reference in New Issue
Block a user