31e57091f2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
33 lines
867 B
C++
33 lines
867 B
C++
///////////////////////////////////////////////////////////////////////////////
|
|
// 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
|
|
// Licence: wxWindows licence
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __WX_COCOA_NSCONTROL_H__
|
|
#define __WX_COCOA_NSCONTROL_H__
|
|
|
|
#include "wx/hashmap.h"
|
|
#include "wx/cocoa/ObjcAssociate.h"
|
|
|
|
WX_DECLARE_OBJC_HASHMAP(NSControl);
|
|
class wxCocoaNSControl
|
|
{
|
|
WX_DECLARE_OBJC_INTERFACE(NSControl)
|
|
public:
|
|
virtual void CocoaTarget_action() {}
|
|
// virtual void Cocoa_didChangeText(void) = 0;
|
|
|
|
virtual ~wxCocoaNSControl() { }
|
|
|
|
protected:
|
|
static struct objc_object *sm_cocoaTarget;
|
|
};
|
|
|
|
#endif // _WX_COCOA_NSCONTROL_H_
|