diff --git a/include/wx/osx/cocoa/dataview.h b/include/wx/osx/cocoa/dataview.h index 2d33fff661..540b66a56c 100644 --- a/include/wx/osx/cocoa/dataview.h +++ b/include/wx/osx/cocoa/dataview.h @@ -314,11 +314,9 @@ private: -(void) removeFromBuffer:(wxPointerObject*)item; // buffered children handling - -(void) appendChild:(wxPointerObject*)item; -(void) clearChildren; -(wxPointerObject*) getChild:(NSUInteger)index; -(NSUInteger) getChildCount; - -(void) removeChild:(NSUInteger)index; // buffer handling -(void) clearBuffers; diff --git a/src/osx/cocoa/dataview.mm b/src/osx/cocoa/dataview.mm index 54f2d4ea29..c7fdad3f94 100644 --- a/src/osx/cocoa/dataview.mm +++ b/src/osx/cocoa/dataview.mm @@ -1039,11 +1039,6 @@ outlineView:(NSOutlineView*)outlineView // // children handling // --(void) appendChild:(wxPointerObject*)item -{ - [children addObject:item]; -} - -(void) clearChildren { [children removeAllObjects]; @@ -1059,11 +1054,6 @@ outlineView:(NSOutlineView*)outlineView return [children count]; } --(void) removeChild:(NSUInteger)index -{ - [children removeObjectAtIndex:index]; -} - // // buffer handling //