mirror of https://github.com/PCSX2/pcsx2.git
40 lines
1.2 KiB
Objective-C
40 lines
1.2 KiB
Objective-C
///////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/cocoa/objc/NSWindow.h
|
|
// Purpose: WXNSWindow class
|
|
// Author: David Elliott
|
|
// Modified by:
|
|
// Created: 2007/04/20 (move from NSWindow.mm)
|
|
// Copyright: (c) 2003 David Elliott
|
|
// Licence: wxWindows licence
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#import <AppKit/NSWindow.h>
|
|
#import <AppKit/NSPanel.h>
|
|
|
|
#include "wx/cocoa/objc/objc_uniquifying.h"
|
|
|
|
// ============================================================================
|
|
// @class WXNSWindow
|
|
// ============================================================================
|
|
@interface WXNSWindow : NSWindow
|
|
{
|
|
}
|
|
|
|
- (BOOL)canBecomeKeyWindow;
|
|
- (BOOL)canBecomeMainWindow;
|
|
@end // WXNSWindow
|
|
WX_DECLARE_GET_OBJC_CLASS(WXNSWindow,NSWindow)
|
|
|
|
// ============================================================================
|
|
// @class WXNSPanel
|
|
// ============================================================================
|
|
@interface WXNSPanel : NSPanel
|
|
{
|
|
}
|
|
|
|
- (BOOL)canBecomeKeyWindow;
|
|
- (BOOL)canBecomeMainWindow;
|
|
@end // WXNSPanel
|
|
WX_DECLARE_GET_OBJC_CLASS(WXNSPanel,NSPanel)
|
|
|