From: Vadim Zeitlin Date: Sun, 8 Jan 2012 10:54:28 +0000 (+0000) Subject: Another wxOSX/Carbon compilation fix after wxListCtrlBase changes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bc5bb7736581bd8ec85c4fcdefc7cfa74dc05704 Another wxOSX/Carbon compilation fix after wxListCtrlBase changes. Fix DoInsertColumn() parameter const-ness too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/listctrl_mac.cpp b/src/osx/carbon/listctrl_mac.cpp index a325b64687..7aca51773a 100644 --- a/src/osx/carbon/listctrl_mac.cpp +++ b/src/osx/carbon/listctrl_mac.cpp @@ -2156,7 +2156,7 @@ long wxListCtrl::InsertItem(long index, const wxString& label, int imageIndex) } // For list view mode (only), inserts a column. -long wxListCtrl::DoInsertColumn(long col, wxListItem& item) +long wxListCtrl::DoInsertColumn(long col, const wxListItem& item) { if (m_genericImpl) return m_genericImpl->InsertColumn(col, item);