]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSTableView.h
Allow the wxMenu to be owned by the NSMenu so that it can be returned
[wxWidgets.git] / include / wx / cocoa / NSTableView.h
CommitLineData
2e024d86
DE
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/NSTableView.h
3// Purpose: wxCocoaNSTableView class
4// Author: David Elliott
5// Modified by:
6// Created: 2003/08/05
7// RCS-ID: $Id$
8// Copyright: (c) 2003 David Elliott
65571936 9// Licence: wxWindows licence
2e024d86
DE
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef __WX_COCOA_NSTABLEVIEW_H__
13#define __WX_COCOA_NSTABLEVIEW_H__
14
15#include "wx/hashmap.h"
16#include "wx/cocoa/ObjcAssociate.h"
17
18WX_DECLARE_OBJC_HASHMAP(NSTableView);
19
20class wxCocoaNSTableView
21{
22 WX_DECLARE_OBJC_INTERFACE(NSTableView)
23public:
24 virtual int CocoaDataSource_numberOfRows() = 0;
25 virtual struct objc_object* CocoaDataSource_objectForTableColumn(
26 WX_NSTableColumn tableColumn, int rowIndex) = 0;
27};
28
29#endif // _WX_COCOA_NSTABLEVIEW_H_