]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSControl.h
Add a new event type for new window creation, document and implement under MSW. Updat...
[wxWidgets.git] / include / wx / cocoa / NSControl.h
CommitLineData
fb896a32
DE
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/NSControl.h
3// Purpose: wxCocoaNSControl class
4// Author: David Elliott
5// Modified by:
6// Created: 2003/02/15
2903e699 7// RCS-ID: $Id$
fb896a32 8// Copyright: (c) 2003 David Elliott
65571936 9// Licence: wxWindows licence
fb896a32
DE
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef __WX_COCOA_NSCONTROL_H__
13#define __WX_COCOA_NSCONTROL_H__
14
15#include "wx/hashmap.h"
e6686511 16#include "wx/cocoa/ObjcAssociate.h"
fb896a32
DE
17
18WX_DECLARE_OBJC_HASHMAP(NSControl);
19class wxCocoaNSControl
20{
21 WX_DECLARE_OBJC_INTERFACE(NSControl)
e0c691d1
DE
22public:
23 virtual void CocoaTarget_action() {}
fb896a32 24// virtual void Cocoa_didChangeText(void) = 0;
31e57091
VZ
25
26 virtual ~wxCocoaNSControl() { }
27
e0c691d1
DE
28protected:
29 static struct objc_object *sm_cocoaTarget;
fb896a32
DE
30};
31
32#endif // _WX_COCOA_NSCONTROL_H_