From bc5bb7736581bd8ec85c4fcdefc7cfa74dc05704 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Jan 2012 10:54:28 +0000 Subject: [PATCH] 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 --- src/osx/carbon/listctrl_mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2