///////////////////////////////////////////////////////////////////////////////
// Name: wx/cocoa/objc/NSWindow.h
-// Purpose: wxPoserNSWindow class
+// Purpose: WXNSWindow class
// Author: David Elliott
// Modified by:
// Created: 2007/04/20 (move from NSWindow.mm)
///////////////////////////////////////////////////////////////////////////////
#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 wxPoserNSWindow
+// @class WXNSPanel
// ============================================================================
-@interface wxPoserNSWindow : NSWindow
+@interface WXNSPanel : NSPanel
{
}
- (BOOL)canBecomeKeyWindow;
- (BOOL)canBecomeMainWindow;
-@end // wxPoserNSwindow
+@end // WXNSPanel
+WX_DECLARE_GET_OBJC_CLASS(WXNSPanel,NSPanel)