X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e024d8690c2225ee1f50e07c2334efd928cf4b8..7e837615b95205297821dc0b85791ad9e0055df6:/src/cocoa/NSTableView.mm diff --git a/src/cocoa/NSTableView.mm b/src/cocoa/NSTableView.mm index ba027f2bb6..45843570ba 100644 --- a/src/cocoa/NSTableView.mm +++ b/src/cocoa/NSTableView.mm @@ -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)