]>
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 | // Copyright: (c) 2003 David Elliott | |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #import <AppKit/NSWindow.h> | |
12 | #import <AppKit/NSPanel.h> | |
13 | ||
14 | #include "wx/cocoa/objc/objc_uniquifying.h" | |
15 | ||
16 | // ============================================================================ | |
17 | // @class WXNSWindow | |
18 | // ============================================================================ | |
19 | @interface WXNSWindow : NSWindow | |
20 | { | |
21 | } | |
22 | ||
23 | - (BOOL)canBecomeKeyWindow; | |
24 | - (BOOL)canBecomeMainWindow; | |
25 | @end // WXNSWindow | |
26 | WX_DECLARE_GET_OBJC_CLASS(WXNSWindow,NSWindow) | |
27 | ||
28 | // ============================================================================ | |
29 | // @class WXNSPanel | |
30 | // ============================================================================ | |
31 | @interface WXNSPanel : NSPanel | |
32 | { | |
33 | } | |
34 | ||
35 | - (BOOL)canBecomeKeyWindow; | |
36 | - (BOOL)canBecomeMainWindow; | |
37 | @end // WXNSPanel | |
38 | WX_DECLARE_GET_OBJC_CLASS(WXNSPanel,NSPanel) | |
39 |