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