Rename wxListCtrl::HasCheckboxes() and EnableCheckboxes()

Rename them to HasCheckBoxes and EnableCheckBoxes for consistency with
wxCheckBox naming.

See also PR https://github.com/wxWidgets/wxWidgets/pull/153
This commit is contained in:
Dimitri Schoolwerth
2016-04-21 15:23:21 +00:00
parent deb162fc5a
commit 602111f2b3
9 changed files with 37 additions and 30 deletions

View File

@@ -461,8 +461,8 @@ public:
wxColour GetAlternateRowColour() const { return m_alternateRowColour.GetBackgroundColour(); }
// Checkboxes support: only implemented in wxMSW currently.
virtual bool HasCheckboxes() const { return false; }
virtual bool EnableCheckboxes(bool WXUNUSED(enable) = true) { return false; }
virtual bool HasCheckBoxes() const { return false; }
virtual bool EnableCheckBoxes(bool WXUNUSED(enable) = true) { return false; }
virtual bool IsItemChecked(long WXUNUSED(item)) const { return false; }
virtual void CheckItem(long WXUNUSED(item), bool WXUNUSED(check)) { }