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