X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af67f39da8ecf7c29ba5071ac49456d506c111cf..94802614d1bfc0e94b73176fd1420690fb2f54d8:/interface/wx/headerctrl.h diff --git a/interface/wx/headerctrl.h b/interface/wx/headerctrl.h index 7f3a5ee756..02eed62ee4 100644 --- a/interface/wx/headerctrl.h +++ b/interface/wx/headerctrl.h @@ -354,7 +354,7 @@ protected: The column index, between 0 and the value last passed to SetColumnCount(). */ - virtual wxHeaderColumnBase& GetColumn(unsigned int idx) = 0; + virtual const wxHeaderColumnBase& GetColumn(unsigned int idx) const = 0; /** Method called when the column visibility is changed by the user. @@ -426,7 +426,7 @@ protected: { public: protected: - virtual wxHeaderColumnBase& GetColumn(unsigned int idx) + virtual wxHeaderColumnBase& GetColumn(unsigned int idx) const { return m_cols[idx]; }