]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/NSTableDataSource.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / cocoa / NSTableDataSource.h
CommitLineData
2e024d86
DE
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/NSTableDataSource.h
3// Purpose: wxCocoaNSTableDataSource Objective-C class
4// Author: David Elliott
5// Modified by:
6// Created: 2003/08/05
2e024d86 7// Copyright: (c) 2003 David Elliott
65571936 8// Licence: wxWindows licence
2e024d86
DE
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef __WX_COCOA_NSTABLEDATASOURCE_H__
12#define __WX_COCOA_NSTABLEDATASOURCE_H__
13
e7e1ad7d
DE
14#include "wx/cocoa/objc/objc_uniquifying.h"
15
2e024d86
DE
16#import <Foundation/NSObject.h>
17
18// ============================================================================
19// @class wxCocoaNSTableDataSource
20// ============================================================================
21@interface wxCocoaNSTableDataSource : NSObject
22{
23}
24
25// NSTableDataSource is a loosely defined protocol consisting of the
26// following two message implementations
27- (int)numberOfRowsInTableView: (NSTableView *)tableView;
28- (id)tableView:(NSTableView *)tableView
29 objectValueForTableColumn: (NSTableColumn *)tableColumn
30 row: (int)rowIndex;
31@end // wxCocoaNSTableDataSource
e7e1ad7d 32WX_DECLARE_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)
2e024d86
DE
33
34#endif // _WX_COCOA_NSTABLEDATASOURCE_H_