From ef2c03d91315411e42f62839ae979e5bf1f27af6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 9 Apr 2006 08:37:56 +0000 Subject: [PATCH] listbox cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/utils.cpp | 88 ---------------------------------------- 1 file changed, 88 deletions(-) diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 24cf97cdd4..824bc4dad9 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -1411,94 +1411,6 @@ void wxMacControl::ScrollRect( wxRect *r , int dx , int dy ) } } -// SetNeedsDisplay would not invalidate the children - -// -// Databrowser -// - -OSStatus wxMacControl::SetSelectionFlags( DataBrowserSelectionFlags options ) -{ - return SetDataBrowserSelectionFlags( m_controlRef , options ) ; -} - -OSStatus wxMacControl::AddListViewColumn( DataBrowserListViewColumnDesc *columnDesc, - DataBrowserTableViewColumnIndex position ) -{ - return AddDataBrowserListViewColumn( m_controlRef , columnDesc, position ) ; -} - -OSStatus wxMacControl::AutoSizeListViewColumns() -{ - return AutoSizeDataBrowserListViewColumns(m_controlRef) ; -} - -OSStatus wxMacControl::SetHasScrollBars( bool horiz , bool vert ) -{ - return SetDataBrowserHasScrollBars( m_controlRef , horiz , vert ) ; -} - -OSStatus wxMacControl::SetTableViewHiliteStyle( DataBrowserTableViewHiliteStyle hiliteStyle ) -{ - return SetDataBrowserTableViewHiliteStyle( m_controlRef , hiliteStyle ) ; -} - -OSStatus wxMacControl::SetListViewHeaderBtnHeight(UInt16 height) -{ - return SetDataBrowserListViewHeaderBtnHeight( m_controlRef ,height ) ; -} - -OSStatus wxMacControl::SetCallbacks(const DataBrowserCallbacks * callbacks) -{ - return SetDataBrowserCallbacks( m_controlRef , callbacks ) ; -} - -OSStatus wxMacControl::UpdateItems( DataBrowserItemID container, UInt32 numItems, - const DataBrowserItemID* items, - DataBrowserPropertyID preSortProperty, - DataBrowserPropertyID propertyID ) -{ - return UpdateDataBrowserItems( m_controlRef , container, numItems, items, preSortProperty, propertyID ) ; -} - -bool wxMacControl::IsItemSelected( DataBrowserItemID item ) -{ - return IsDataBrowserItemSelected( m_controlRef , item ) ; -} - -OSStatus wxMacControl::AddItems( DataBrowserItemID container, UInt32 numItems, - const DataBrowserItemID* items, - DataBrowserPropertyID preSortProperty ) -{ - return AddDataBrowserItems( m_controlRef , container, numItems, items, preSortProperty ) ; -} - -OSStatus wxMacControl::RemoveItems( DataBrowserItemID container, UInt32 numItems, - const DataBrowserItemID* items, - DataBrowserPropertyID preSortProperty ) -{ - return RemoveDataBrowserItems( m_controlRef , container, numItems, items, preSortProperty ) ; -} - -OSStatus wxMacControl::RevealItem( DataBrowserItemID item, - DataBrowserPropertyID propertyID, - DataBrowserRevealOptions options ) -{ - return RevealDataBrowserItem( m_controlRef , item , propertyID , options ) ; -} - -OSStatus wxMacControl::SetSelectedItems(UInt32 numItems, - const DataBrowserItemID * items, - DataBrowserSetOption operation ) -{ - return SetDataBrowserSelectedItems( m_controlRef , numItems , items, operation ) ; -} - -OSStatus wxMacControl::GetSelectionAnchor( DataBrowserItemID * first, DataBrowserItemID * last ) -{ - return GetDataBrowserSelectionAnchor( m_controlRef , first , last ) ; -} - // // Tab Control //