// Created: 2003/08/05
// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWindows licence
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
#include "wx/log.h"
#endif // WX_PRECOMP
-#include "wx/cocoa/ObjcPose.h"
-
#include "wx/cocoa/NSTableDataSource.h"
#include "wx/cocoa/NSTableView.h"
#import <AppKit/NSTableView.h>
- (int)numberOfRowsInTableView: (NSTableView *)tableView
{
wxCocoaNSTableView *wxView = wxCocoaNSTableView::GetFromCocoa(tableView);
- wxCHECK_MSG(wxView, 0, "No associated wx object");
+ wxCHECK_MSG(wxView, 0, wxT("No associated wx object"));
return wxView->CocoaDataSource_numberOfRows();
}
row: (int)rowIndex
{
wxCocoaNSTableView *wxView = wxCocoaNSTableView::GetFromCocoa(tableView);
- wxCHECK_MSG(wxView, nil, "No associated wx object");
+ wxCHECK_MSG(wxView, nil, wxT("No associated wx object"));
return wxView->CocoaDataSource_objectForTableColumn(tableColumn,rowIndex);
}
@end // implementation wxCocoaNSTableDataSource
+WX_IMPLEMENT_GET_OBJC_CLASS(wxCocoaNSTableDataSource,NSObject)