Fix wxOSX/Carbon compilation after wxListCtrlBase introduction.
Make wxListCtrl::SetColumn() item parameter const reference. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
22f772f8e3
commit
0482be5e1d
@ -63,8 +63,7 @@ class WXDLLIMPEXP_CORE wxListCtrl: public wxListCtrlBase
|
||||
bool GetColumn(int col, wxListItem& item) const;
|
||||
|
||||
// Sets information about this column
|
||||
// TODO: NOT const to be compatible with wxGenericListCtrl API
|
||||
bool SetColumn(int col, wxListItem& item) ;
|
||||
bool SetColumn(int col, const wxListItem& item) ;
|
||||
|
||||
// Gets the column width
|
||||
int GetColumnWidth(int col) const;
|
||||
|
@ -898,7 +898,7 @@ bool wxListCtrl::GetColumn(int col, wxListItem& item) const
|
||||
}
|
||||
|
||||
// Sets information about this column
|
||||
bool wxListCtrl::SetColumn(int col, wxListItem& item)
|
||||
bool wxListCtrl::SetColumn(int col, const wxListItem& item)
|
||||
{
|
||||
if (m_genericImpl)
|
||||
return m_genericImpl->SetColumn(col, item);
|
||||
|
Loading…
Reference in New Issue
Block a user