]>
Commit | Line | Data |
---|---|---|
ad3628fa DE |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/cocoa/objc/NSWindow.h | |
829a2e95 | 3 | // Purpose: WXNSWindow class |
ad3628fa DE |
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> | |
829a2e95 | 13 | #import <AppKit/NSPanel.h> |
ad3628fa | 14 | |
dc834029 DE |
15 | #include "wx/cocoa/objc/objc_uniquifying.h" |
16 | ||
ad3628fa | 17 | // ============================================================================ |
829a2e95 | 18 | // @class WXNSWindow |
ad3628fa | 19 | // ============================================================================ |
829a2e95 | 20 | @interface WXNSWindow : NSWindow |
ad3628fa DE |
21 | { |
22 | } | |
23 | ||
24 | - (BOOL)canBecomeKeyWindow; | |
25 | - (BOOL)canBecomeMainWindow; | |
829a2e95 | 26 | @end // WXNSWindow |
dc834029 | 27 | WX_DECLARE_GET_OBJC_CLASS(WXNSWindow,NSWindow) |
829a2e95 DE |
28 | |
29 | // ============================================================================ | |
30 | // @class WXNSPanel | |
31 | // ============================================================================ | |
32 | @interface WXNSPanel : NSPanel | |
33 | { | |
34 | } | |
35 | ||
36 | - (BOOL)canBecomeKeyWindow; | |
37 | - (BOOL)canBecomeMainWindow; | |
38 | @end // WXNSPanel | |
dc834029 | 39 | WX_DECLARE_GET_OBJC_CLASS(WXNSPanel,NSPanel) |
ad3628fa | 40 |