dc834029a3
Copyright 2007 Software 2000 Ltd. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
41 lines
1.2 KiB
Objective-C
41 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)
|
|
// RCS-ID: $Id$
|
|
// 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)
|
|
|