2007-04-20 16:21:52 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/cocoa/objc/NSWindow.h
|
2007-04-20 18:27:56 -04:00
|
|
|
// Purpose: WXNSWindow class
|
2007-04-20 16:21:52 -04:00
|
|
|
// Author: David Elliott
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2007/04/20 (move from NSWindow.mm)
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2003 David Elliott
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#import <AppKit/NSWindow.h>
|
2007-04-20 18:27:56 -04:00
|
|
|
#import <AppKit/NSPanel.h>
|
2007-04-20 16:21:52 -04:00
|
|
|
|
|
|
|
// ============================================================================
|
2007-04-20 18:27:56 -04:00
|
|
|
// @class WXNSWindow
|
2007-04-20 16:21:52 -04:00
|
|
|
// ============================================================================
|
2007-04-20 18:27:56 -04:00
|
|
|
@interface WXNSWindow : NSWindow
|
2007-04-20 16:21:52 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)canBecomeKeyWindow;
|
|
|
|
- (BOOL)canBecomeMainWindow;
|
2007-04-20 18:27:56 -04:00
|
|
|
@end // WXNSWindow
|
|
|
|
|
|
|
|
// ============================================================================
|
|
|
|
// @class WXNSPanel
|
|
|
|
// ============================================================================
|
|
|
|
@interface WXNSPanel : NSPanel
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)canBecomeKeyWindow;
|
|
|
|
- (BOOL)canBecomeMainWindow;
|
|
|
|
@end // WXNSPanel
|
2007-04-20 16:21:52 -04:00
|
|
|
|