X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad3628fa86caa8eb9ded43eacb115f44558eb1ee..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/cocoa/objc/NSView.h?ds=sidebyside diff --git a/include/wx/cocoa/objc/NSView.h b/include/wx/cocoa/objc/NSView.h index 58c4f5101d..885ed39b6c 100644 --- a/include/wx/cocoa/objc/NSView.h +++ b/include/wx/cocoa/objc/NSView.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/cocoa/objc/NSView.h -// Purpose: wxPoserNSView class +// Purpose: WXNSView class // Author: David Elliott // Modified by: // Created: 2007/04/20 (move from NSView.mm) @@ -12,12 +12,14 @@ #ifndef __WX_COCOA_OBJC_NSVIEW_H__ #define __WX_COCOA_OBJC_NSVIEW_H__ +#include "wx/cocoa/objc/objc_uniquifying.h" + #import // ============================================================================ -// @class wxPoserNSView +// @class WXNSView // ============================================================================ -@interface wxPoserNSView : NSView +@interface WXNSView : NSView { } @@ -35,6 +37,9 @@ - (void)otherMouseDragged:(NSEvent *)theEvent; - (void)otherMouseUp:(NSEvent *)theEvent; - (void)resetCursorRects; -@end // wxPoserNSView +- (void)viewDidMoveToWindow; +- (void)viewWillMoveToWindow:(NSWindow *)newWindow; +@end // WXNSView +WX_DECLARE_GET_OBJC_CLASS(WXNSView,NSView) #endif //ndef __WX_COCOA_OBJC_NSVIEW_H__