--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: wx/cocoa/objc/NSMenu.h
+// Purpose: wxPoserNSMenu class
+// Author: David Elliott
+// Modified by:
+// Created: 2007/04/20 (move from NSMenu.mm)
+// RCS-ID: $Id$
+// Copyright: (c) 2002 David Elliott
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef __WX_COCOA_OBJC_NSMENU_H__
+#define __WX_COCOA_OBJC_NSMENU_H__
+
+#import <AppKit/NSMenu.h>
+
+// ============================================================================
+// @class wxPoserNSMenu
+// ============================================================================
+@interface wxPoserNSMenu : NSMenu
+{
+}
+
+- (void)dealloc;
+
+@end // wxPoserNSMenu
+
+#endif //ndef __WX_COCOA_OBJC_NSMENU_H__
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: wx/cocoa/objc/NSView.h
+// Purpose: wxPoserNSView class
+// Author: David Elliott
+// Modified by:
+// Created: 2007/04/20 (move from NSView.mm)
+// RCS-ID: $Id$
+// Copyright: (c) 2003 David Elliott
+// Licence: wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+#ifndef __WX_COCOA_OBJC_NSVIEW_H__
+#define __WX_COCOA_OBJC_NSVIEW_H__
+
+#import <AppKit/NSView.h>
+
+// ============================================================================
+// @class wxPoserNSView
+// ============================================================================
+@interface wxPoserNSView : NSView
+{
+}
+
+- (void)drawRect: (NSRect)rect;
+- (void)mouseDown:(NSEvent *)theEvent;
+- (void)mouseDragged:(NSEvent *)theEvent;
+- (void)mouseUp:(NSEvent *)theEvent;
+- (void)mouseMoved:(NSEvent *)theEvent;
+- (void)mouseEntered:(NSEvent *)theEvent;
+- (void)mouseExited:(NSEvent *)theEvent;
+- (void)rightMouseDown:(NSEvent *)theEvent;
+- (void)rightMouseDragged:(NSEvent *)theEvent;
+- (void)rightMouseUp:(NSEvent *)theEvent;
+- (void)otherMouseDown:(NSEvent *)theEvent;
+- (void)otherMouseDragged:(NSEvent *)theEvent;
+- (void)otherMouseUp:(NSEvent *)theEvent;
+- (void)resetCursorRects;
+@end // wxPoserNSView
+
+#endif //ndef __WX_COCOA_OBJC_NSVIEW_H__
--- /dev/null
+///////////////////////////////////////////////////////////////////////////////
+// Name: wx/cocoa/objc/NSWindow.h
+// Purpose: wxPoserNSWindow 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>
+
+// ============================================================================
+// @class wxPoserNSWindow
+// ============================================================================
+@interface wxPoserNSWindow : NSWindow
+{
+}
+
+- (BOOL)canBecomeKeyWindow;
+- (BOOL)canBecomeMainWindow;
+@end // wxPoserNSwindow
+
#include "wx/cocoa/ObjcPose.h"
#import <Foundation/NSNotification.h>
-#import <AppKit/NSMenu.h>
+#include "wx/cocoa/objc/NSMenu.h"
// ============================================================================
// @class wxPoserNSMenu
// ============================================================================
-@interface wxPoserNSMenu : NSMenu
-{
-}
-
-- (void)dealloc;
-
-@end // wxPoserNSMenu
WX_IMPLEMENT_POSER(wxPoserNSMenu);
@implementation wxPoserNSMenu : NSMenu
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/cocoa/ObjcPose.h"
#include "wx/cocoa/NSView.h"
-#import <AppKit/NSView.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSString.h>
+#include "wx/cocoa/objc/NSView.h"
// ----------------------------------------------------------------------------
// globals
// ============================================================================
// @class wxPoserNSView
// ============================================================================
-@interface wxPoserNSView : NSView
-{
-}
-
-- (void)drawRect: (NSRect)rect;
-- (void)mouseDown:(NSEvent *)theEvent;
-- (void)mouseDragged:(NSEvent *)theEvent;
-- (void)mouseUp:(NSEvent *)theEvent;
-- (void)mouseMoved:(NSEvent *)theEvent;
-- (void)mouseEntered:(NSEvent *)theEvent;
-- (void)mouseExited:(NSEvent *)theEvent;
-- (void)rightMouseDown:(NSEvent *)theEvent;
-- (void)rightMouseDragged:(NSEvent *)theEvent;
-- (void)rightMouseUp:(NSEvent *)theEvent;
-- (void)otherMouseDown:(NSEvent *)theEvent;
-- (void)otherMouseDragged:(NSEvent *)theEvent;
-- (void)otherMouseUp:(NSEvent *)theEvent;
-- (void)resetCursorRects;
-@end // wxPoserNSView
-
WX_IMPLEMENT_POSER(wxPoserNSView);
@implementation wxPoserNSView : NSView
#include "wx/cocoa/ObjcPose.h"
#include "wx/cocoa/NSWindow.h"
-#import <AppKit/NSWindow.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSString.h>
+#include "wx/cocoa/objc/NSWindow.h"
// ============================================================================
// @class wxNSWindowDelegate
// ============================================================================
// @class wxPoserNSWindow
// ============================================================================
-@interface wxPoserNSWindow : NSWindow
-{
-}
-
-- (BOOL)canBecomeKeyWindow;
-- (BOOL)canBecomeMainWindow;
-@end // wxPoserNSwindow
-
WX_IMPLEMENT_POSER(wxPoserNSWindow);
@implementation wxPoserNSWindow : NSWindow