]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing #9910
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 Aug 2008 08:18:30 +0000 (08:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 27 Aug 2008 08:18:30 +0000 (08:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/carbon/listctrl.h
src/osx/carbon/listctrl_mac.cpp

index c2aad6d74fc7711b3a069314f621b59e4158d0cc..0b05f6763c07cfdd7d59debf4e3182316b531361 100644 (file)
@@ -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();
index 16e432606d70493925b5ea99c5c9c4713c5be96c..8ba6fa0a1cae32f093279041d553ecf411d169b6 100644 (file)
@@ -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();