]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/headerctrlcmn.cpp
handle correctly never/always shown scrollbars in GetClientSize()
[wxWidgets.git] / src / common / headerctrlcmn.cpp
index 51282c560c4bef77b48d4a92fb33364f9ee0fd2d..bc5fd71f60afc32b1da967243db4d4fd75fce4dc 100644 (file)
@@ -366,7 +366,7 @@ void wxHeaderCtrlSimple::Init()
     m_sortKey = wxNO_COLUMN;
 }
 
-wxHeaderColumn& wxHeaderCtrlSimple::GetColumn(unsigned int idx)
+const wxHeaderColumn& wxHeaderCtrlSimple::GetColumn(unsigned int idx) const
 {
     return m_cols[idx];
 }