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