]>
Commit | Line | Data |
---|---|---|
1 | /////////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/cocoa/objc/NSWindow.h | |
3 | // Purpose: WXNSWindow class | |
4 | // Author: David Elliott | |
5 | // Modified by: | |
6 | // Created: 2007/04/20 (move from NSWindow.mm) | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 David Elliott | |
9 | // Licence: wxWindows licence | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #import <AppKit/NSWindow.h> | |
13 | #import <AppKit/NSPanel.h> | |
14 | ||
15 | #include "wx/cocoa/objc/objc_uniquifying.h" | |
16 | ||
17 | // ============================================================================ | |
18 | // @class WXNSWindow | |
19 | // ============================================================================ | |
20 | @interface WXNSWindow : NSWindow | |
21 | { | |
22 | } | |
23 | ||
24 | - (BOOL)canBecomeKeyWindow; | |
25 | - (BOOL)canBecomeMainWindow; | |
26 | @end // WXNSWindow | |
27 | WX_DECLARE_GET_OBJC_CLASS(WXNSWindow,NSWindow) | |
28 | ||
29 | // ============================================================================ | |
30 | // @class WXNSPanel | |
31 | // ============================================================================ | |
32 | @interface WXNSPanel : NSPanel | |
33 | { | |
34 | } | |
35 | ||
36 | - (BOOL)canBecomeKeyWindow; | |
37 | - (BOOL)canBecomeMainWindow; | |
38 | @end // WXNSPanel | |
39 | WX_DECLARE_GET_OBJC_CLASS(WXNSPanel,NSPanel) | |
40 |