Add wxListCtrlBase::GetItemCount() pure virtual
No real changes, just ensure that all derived classes implement this method (which already was the case).
This commit is contained in:
parent
30dabbdf69
commit
f95ce8d9d5
@ -86,7 +86,7 @@ public:
|
||||
bool GetSubItemRect( long item, long subItem, wxRect& rect, int code = wxLIST_RECT_BOUNDS ) const;
|
||||
bool GetItemPosition( long item, wxPoint& pos ) const;
|
||||
bool SetItemPosition( long item, const wxPoint& pos ); // not supported in wxGLC
|
||||
int GetItemCount() const;
|
||||
int GetItemCount() const wxOVERRIDE;
|
||||
int GetColumnCount() const wxOVERRIDE;
|
||||
void SetItemSpacing( int spacing, bool isSmall = false );
|
||||
wxSize GetItemSpacing() const;
|
||||
|
@ -378,6 +378,9 @@ public:
|
||||
virtual bool DeleteColumn(int col) = 0;
|
||||
virtual bool DeleteAllColumns() = 0;
|
||||
|
||||
// Return the current number of items.
|
||||
virtual int GetItemCount() const = 0;
|
||||
|
||||
// Return the current number of columns.
|
||||
virtual int GetColumnCount() const = 0;
|
||||
|
||||
|
@ -199,7 +199,7 @@ public:
|
||||
bool SetItemPosition(long item, const wxPoint& pos);
|
||||
|
||||
// Gets the number of items in the list control
|
||||
int GetItemCount() const;
|
||||
int GetItemCount() const wxOVERRIDE;
|
||||
|
||||
// Gets the number of columns in the list control
|
||||
int GetColumnCount() const wxOVERRIDE { return m_colCount; }
|
||||
|
@ -127,7 +127,7 @@ public:
|
||||
bool SetItemPosition(long item, const wxPoint& pos);
|
||||
|
||||
// Gets the number of items in the list control
|
||||
int GetItemCount() const;
|
||||
int GetItemCount() const wxOVERRIDE;
|
||||
|
||||
// Gets the number of columns in the list control
|
||||
int GetColumnCount() const wxOVERRIDE;
|
||||
|
Loading…
Reference in New Issue
Block a user