Remove unnecessary methods of wxCocoaOutlineDataSource.
{append,remove}Child() were never used, remove them to make it easier to remove the use of "children" array itself later (see #16740). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -314,11 +314,9 @@ private:
|
|||||||
-(void) removeFromBuffer:(wxPointerObject*)item;
|
-(void) removeFromBuffer:(wxPointerObject*)item;
|
||||||
|
|
||||||
// buffered children handling
|
// buffered children handling
|
||||||
-(void) appendChild:(wxPointerObject*)item;
|
|
||||||
-(void) clearChildren;
|
-(void) clearChildren;
|
||||||
-(wxPointerObject*) getChild:(NSUInteger)index;
|
-(wxPointerObject*) getChild:(NSUInteger)index;
|
||||||
-(NSUInteger) getChildCount;
|
-(NSUInteger) getChildCount;
|
||||||
-(void) removeChild:(NSUInteger)index;
|
|
||||||
|
|
||||||
// buffer handling
|
// buffer handling
|
||||||
-(void) clearBuffers;
|
-(void) clearBuffers;
|
||||||
|
@@ -1039,11 +1039,6 @@ outlineView:(NSOutlineView*)outlineView
|
|||||||
//
|
//
|
||||||
// children handling
|
// children handling
|
||||||
//
|
//
|
||||||
-(void) appendChild:(wxPointerObject*)item
|
|
||||||
{
|
|
||||||
[children addObject:item];
|
|
||||||
}
|
|
||||||
|
|
||||||
-(void) clearChildren
|
-(void) clearChildren
|
||||||
{
|
{
|
||||||
[children removeAllObjects];
|
[children removeAllObjects];
|
||||||
@@ -1059,11 +1054,6 @@ outlineView:(NSOutlineView*)outlineView
|
|||||||
return [children count];
|
return [children count];
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void) removeChild:(NSUInteger)index
|
|
||||||
{
|
|
||||||
[children removeObjectAtIndex:index];
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// buffer handling
|
// buffer handling
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user