Make wxDataViewModel::GetAttr() and GetAttrByRow() const.

This is an incompatible change but having to use a non-const model pointer to
call a clearly logically const version was simply too ugly so change it while
we still can.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-24 21:42:04 +00:00
parent 2feacb6eb3
commit 7fadac8872
5 changed files with 39 additions and 8 deletions

View File

@@ -390,6 +390,10 @@ INCOMPATIBLE CHANGE SINCE 2.9.0
2.9.0. Please use UseAppInfo(AppInfo_AppName | AppInfo_VendorName) explicitly
to use the vendor name in the paths returned by wxStandardPaths.
- wxDataViewModel::GetAttr() is now const, as it should have been from the very
beginning. You will need to change it to be const in your derived model
class too if you override it.
All: