Hello,
i have attched a patch to improve const correctness of wxadvtable memberfunctions. Hope you like it?
The following member functions has been changed (output from cppcheck):
[properties.h:70]: (Style) The function 'Property::GetName' can be const
[properties.h:79]: (Style) The function 'Property::GetUID' can be const
[properties.h:88]: (Style) The function 'Property::GetType' can be const
[properties.cpp:226] -> [properties.h:291]: (Style) The function 'PropertyCollection::GetCount' can be const
[propertypage.h:46]: (Style) The function 'PropCtrl::GetId' can be const
[../src/wxadvtable.cpp:1424]: (Style) The function 'SortHelper::Index' can be const
Best regards
Ettl Martin
const corectness patch