X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e024d8690c2225ee1f50e07c2334efd928cf4b8..618d53b890bfcdc2daf0856fe4a72c69318bf479:/src/cocoa/NSTableView.mm diff --git a/src/cocoa/NSTableView.mm b/src/cocoa/NSTableView.mm index ba027f2bb6..c4b19102bc 100644 --- a/src/cocoa/NSTableView.mm +++ b/src/cocoa/NSTableView.mm @@ -6,7 +6,7 @@ // Created: 2003/08/05 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows licence +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -22,8 +22,6 @@ #include "wx/log.h" #endif // WX_PRECOMP -#include "wx/cocoa/ObjcPose.h" - #include "wx/cocoa/NSTableDataSource.h" #include "wx/cocoa/NSTableView.h" #import @@ -41,7 +39,7 @@ WX_IMPLEMENT_OBJC_INTERFACE_HASHMAP(NSTableView) - (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(); } @@ -50,9 +48,10 @@ WX_IMPLEMENT_OBJC_INTERFACE_HASHMAP(NSTableView) 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)