cursors for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,6 +73,7 @@ void wxCocoaNSView::DisassociateNSView(WX_NSView cocoaNSView)
|
||||
- (void)otherMouseDown:(NSEvent *)theEvent;
|
||||
- (void)otherMouseDragged:(NSEvent *)theEvent;
|
||||
- (void)otherMouseUp:(NSEvent *)theEvent;
|
||||
- (void)resetCursorRects;
|
||||
@end // wxPoserNSView
|
||||
|
||||
WX_IMPLEMENT_POSER(wxPoserNSView);
|
||||
@@ -169,6 +170,13 @@ WX_IMPLEMENT_POSER(wxPoserNSView);
|
||||
[super otherMouseUp:theEvent];
|
||||
}
|
||||
|
||||
- (void)resetCursorRects
|
||||
{
|
||||
wxCocoaNSView *win = wxCocoaNSView::GetFromCocoa(self);
|
||||
if( !win || !win->Cocoa_resetCursorRects() )
|
||||
[super resetCursorRects];
|
||||
}
|
||||
|
||||
@end // implementation wxPoserNSView
|
||||
|
||||
@interface wxNSViewNotificationObserver : NSObject
|
||||
|
||||
Reference in New Issue
Block a user