From 0b134cd00db2f8528a985c48cf97615770e0c339 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 27 Aug 2008 08:18:30 +0000 Subject: [PATCH] fixing #9910 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/carbon/listctrl.h | 2 +- src/osx/carbon/listctrl_mac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/osx/carbon/listctrl.h b/include/wx/osx/carbon/listctrl.h index c2aad6d74f..0b05f6763c 100644 --- a/include/wx/osx/carbon/listctrl.h +++ b/include/wx/osx/carbon/listctrl.h @@ -322,7 +322,7 @@ class WXDLLIMPEXP_CORE 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/osx/carbon/listctrl_mac.cpp b/src/osx/carbon/listctrl_mac.cpp index 16e432606d..8ba6fa0a1c 100644 --- a/src/osx/carbon/listctrl_mac.cpp +++ b/src/osx/carbon/listctrl_mac.cpp @@ -894,7 +894,7 @@ bool wxListCtrl::SetBackgroundColour(const wxColour& colour) return rv; } -wxColour wxListCtrl::GetBackgroundColour() +wxColour wxListCtrl::GetBackgroundColour() const { if (m_genericImpl) return m_genericImpl->GetBackgroundColour(); -- 2.45.2