/////////////////////////////////////////////////////////////////////////////
-// Name: cocoa/NSTableView.mm
+// Name: src/cocoa/NSTableView.mm
// Purpose: wxCocoaNSTableView / wxCocoaNSTableDataSource
// Author: David Elliott
// Modified by:
#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)