2003-03-21 19:51:47 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/cocoa/NSControl.h
|
|
|
|
// Purpose: wxCocoaNSControl class
|
|
|
|
// Author: David Elliott
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2003/02/15
|
2009-01-11 11:58:34 +00:00
|
|
|
// RCS-ID: $Id$
|
2003-03-21 19:51:47 +00:00
|
|
|
// Copyright: (c) 2003 David Elliott
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
2003-03-21 19:51:47 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_COCOA_NSCONTROL_H__
|
|
|
|
#define __WX_COCOA_NSCONTROL_H__
|
|
|
|
|
|
|
|
#include "wx/hashmap.h"
|
2003-04-19 17:51:50 +00:00
|
|
|
#include "wx/cocoa/ObjcAssociate.h"
|
2003-03-21 19:51:47 +00:00
|
|
|
|
|
|
|
WX_DECLARE_OBJC_HASHMAP(NSControl);
|
|
|
|
class wxCocoaNSControl
|
|
|
|
{
|
|
|
|
WX_DECLARE_OBJC_INTERFACE(NSControl)
|
2003-09-08 19:00:45 +00:00
|
|
|
public:
|
|
|
|
virtual void CocoaTarget_action() {}
|
2003-03-21 19:51:47 +00:00
|
|
|
// virtual void Cocoa_didChangeText(void) = 0;
|
2006-03-12 15:10:23 +00:00
|
|
|
|
|
|
|
virtual ~wxCocoaNSControl() { }
|
|
|
|
|
2003-09-08 19:00:45 +00:00
|
|
|
protected:
|
|
|
|
static struct objc_object *sm_cocoaTarget;
|
2003-03-21 19:51:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_COCOA_NSCONTROL_H_
|