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
virtual int GetFlags() const { return GetFromIndividualFlags(); }
// implementation
- GtkWidget* GetGtkHandle() { return m_column; }
- GtkWidget* GetConstGtkHandle() const { return m_column; }
+ GtkWidget* GetGtkHandle() const { return m_column; }
private:
// holds the GTK handle
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) );