]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/objc/NSView.h
Menu label consistency changes
[wxWidgets.git] / include / wx / cocoa / objc / NSView.h
CommitLineData
ad3628fa
DE
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/objc/NSView.h
829a2e95 3// Purpose: WXNSView class
ad3628fa
DE
4// Author: David Elliott
5// Modified by:
6// Created: 2007/04/20 (move from NSView.mm)
7// RCS-ID: $Id$
8// Copyright: (c) 2003 David Elliott
9// Licence: wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef __WX_COCOA_OBJC_NSVIEW_H__
13#define __WX_COCOA_OBJC_NSVIEW_H__
14
a24aa427
DE
15#include "wx/cocoa/objc/objc_uniquifying.h"
16
ad3628fa
DE
17#import <AppKit/NSView.h>
18
19// ============================================================================
829a2e95 20// @class WXNSView
ad3628fa 21// ============================================================================
829a2e95 22@interface WXNSView : NSView
ad3628fa
DE
23{
24}
25
26- (void)drawRect: (NSRect)rect;
27- (void)mouseDown:(NSEvent *)theEvent;
28- (void)mouseDragged:(NSEvent *)theEvent;
29- (void)mouseUp:(NSEvent *)theEvent;
30- (void)mouseMoved:(NSEvent *)theEvent;
31- (void)mouseEntered:(NSEvent *)theEvent;
32- (void)mouseExited:(NSEvent *)theEvent;
33- (void)rightMouseDown:(NSEvent *)theEvent;
34- (void)rightMouseDragged:(NSEvent *)theEvent;
35- (void)rightMouseUp:(NSEvent *)theEvent;
36- (void)otherMouseDown:(NSEvent *)theEvent;
37- (void)otherMouseDragged:(NSEvent *)theEvent;
38- (void)otherMouseUp:(NSEvent *)theEvent;
39- (void)resetCursorRects;
7c5a378f
DE
40- (void)viewDidMoveToWindow;
41- (void)viewWillMoveToWindow:(NSWindow *)newWindow;
829a2e95 42@end // WXNSView
a24aa427 43WX_DECLARE_GET_OBJC_CLASS(WXNSView,NSView)
ad3628fa
DE
44
45#endif //ndef __WX_COCOA_OBJC_NSVIEW_H__