From 04f1d418f69ba7a45b1635e79424c9ca62f21908 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 27 Aug 2008 08:21:09 +0000 Subject: [PATCH] fixing #9910 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/listctrl.h | 2 +- src/mac/carbon/listctrl_mac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/carbon/listctrl.h b/include/wx/mac/carbon/listctrl.h index 1af13e0ae6..8d20a96b75 100644 --- a/include/wx/mac/carbon/listctrl.h +++ b/include/wx/mac/carbon/listctrl.h @@ -324,7 +324,7 @@ class WXDLLEXPORT wxListCtrl: public wxControl virtual bool SetFont(const wxFont& font); virtual bool SetForegroundColour(const wxColour& colour); virtual bool SetBackgroundColour(const wxColour& colour); - virtual wxColour GetBackgroundColour(); + virtual wxColour GetBackgroundColour() const; // functions for editing/timer void OnRenameTimer(); diff --git a/src/mac/carbon/listctrl_mac.cpp b/src/mac/carbon/listctrl_mac.cpp index cf06618305..a0c75a581f 100644 --- a/src/mac/carbon/listctrl_mac.cpp +++ b/src/mac/carbon/listctrl_mac.cpp @@ -903,7 +903,7 @@ bool wxListCtrl::SetBackgroundColour(const wxColour& colour) return rv; } -wxColour wxListCtrl::GetBackgroundColour() +wxColour wxListCtrl::GetBackgroundColour() const { if (m_genericImpl) return m_genericImpl->GetBackgroundColour();