I got too tired of seeing these unused parameters warnings finally

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-14 15:24:09 +00:00
parent ed6008f49f
commit 7857346a54

View File

@@ -2788,8 +2788,9 @@ gboolean wxDataViewCtrlInternal::row_draggable( GtkTreeDragSource *WXUNUSED(drag
return m_wx_model->IsDraggable( item ); return m_wx_model->IsDraggable( item );
} }
gboolean wxDataViewCtrlInternal::drag_data_delete( GtkTreeDragSource *WXUNUSED(drag_source), gboolean
GtkTreePath* path ) wxDataViewCtrlInternal::drag_data_delete(GtkTreeDragSource *WXUNUSED(drag_source),
GtkTreePath *WXUNUSED(path))
{ {
return FALSE; return FALSE;
} }
@@ -2819,14 +2820,18 @@ gboolean wxDataViewCtrlInternal::drag_data_get( GtkTreeDragSource *WXUNUSED(drag
return TRUE; return TRUE;
} }
gboolean wxDataViewCtrlInternal::drag_data_received( GtkTreeDragDest *WXUNUSED(drag_dest), gboolean
GtkTreePath *dest, GtkSelectionData *selection_data ) wxDataViewCtrlInternal::drag_data_received(GtkTreeDragDest *WXUNUSED(drag_dest),
GtkTreePath *WXUNUSED(dest),
GtkSelectionData *WXUNUSED(selection_data))
{ {
return FALSE; return FALSE;
} }
gboolean wxDataViewCtrlInternal::row_drop_possible( GtkTreeDragDest *WXUNUSED(drag_dest), gboolean
GtkTreePath *dest_path, GtkSelectionData *selection_data ) wxDataViewCtrlInternal::row_drop_possible(GtkTreeDragDest *WXUNUSED(drag_dest),
GtkTreePath *WXUNUSED(dest_path),
GtkSelectionData *WXUNUSED(selection_data))
{ {
return FALSE; return FALSE;
} }
@@ -4003,7 +4008,8 @@ void wxDataViewCtrl::UnselectAll()
GtkEnableSelectionEvents(); GtkEnableSelectionEvents();
} }
void wxDataViewCtrl::EnsureVisible( const wxDataViewItem & item, const wxDataViewColumn *column ) void wxDataViewCtrl::EnsureVisible(const wxDataViewItem& item,
const wxDataViewColumn *WXUNUSED(column))
{ {
GtkTreeIter iter; GtkTreeIter iter;
iter.user_data = (gpointer) item.GetID(); iter.user_data = (gpointer) item.GetID();
@@ -4012,15 +4018,17 @@ void wxDataViewCtrl::EnsureVisible( const wxDataViewItem & item, const wxDataVie
gtk_tree_path_free( path ); gtk_tree_path_free( path );
} }
void wxDataViewCtrl::HitTest( const wxPoint &point, void wxDataViewCtrl::HitTest(const wxPoint& WXUNUSED(point),
wxDataViewItem &item, wxDataViewColumn *&column ) const wxDataViewItem& item,
wxDataViewColumn *& column) const
{ {
item = wxDataViewItem(0); item = wxDataViewItem(0);
column = NULL; column = NULL;
} }
wxRect wxDataViewCtrl::GetItemRect( const wxDataViewItem &item, wxRect
const wxDataViewColumn *column ) const wxDataViewCtrl::GetItemRect(const wxDataViewItem& WXUNUSED(item),
const wxDataViewColumn *WXUNUSED(column)) const
{ {
return wxRect(); return wxRect();
} }