]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSControl.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[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
fb896a32 7// Copyright: (c) 2003 David Elliott
65571936 8// Licence: wxWindows licence
fb896a32
DE
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef __WX_COCOA_NSCONTROL_H__
12#define __WX_COCOA_NSCONTROL_H__
13
14#include "wx/hashmap.h"
e6686511 15#include "wx/cocoa/ObjcAssociate.h"
fb896a32
DE
16
17WX_DECLARE_OBJC_HASHMAP(NSControl);
18class wxCocoaNSControl
19{
20 WX_DECLARE_OBJC_INTERFACE(NSControl)
e0c691d1
DE
21public:
22 virtual void CocoaTarget_action() {}
fb896a32 23// virtual void Cocoa_didChangeText(void) = 0;
31e57091
VZ
24
25 virtual ~wxCocoaNSControl() { }
26
e0c691d1
DE
27protected:
28 static struct objc_object *sm_cocoaTarget;
fb896a32
DE
29};
30
31#endif // _WX_COCOA_NSCONTROL_H_