No changes, just get rid of wxDataViewColumn::GetConstGtkHandle().
If both const and non-const accessors are needed, it's custom to use the same name for both but in this case we don't even need them as the const version can always be used, so simply remove the weird and badly named (because the returned handle is not const at all) GetConstGtkHandle(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4735,7 +4735,7 @@ bool wxDataViewCtrl::ClearColumns()
|
||||
|
||||
int wxDataViewCtrl::GetColumnPosition( const wxDataViewColumn *column ) const
|
||||
{
|
||||
GtkTreeViewColumn *gtk_column = GTK_TREE_VIEW_COLUMN(column->GetConstGtkHandle());
|
||||
GtkTreeViewColumn *gtk_column = GTK_TREE_VIEW_COLUMN(column->GetGtkHandle());
|
||||
|
||||
GList *list = gtk_tree_view_get_columns( GTK_TREE_VIEW(m_treeview) );
|
||||
|
||||
|
Reference in New Issue
Block a user