Add wxListCtrl::IsVisible()
Allow checking if the given item is (at least partially) visible on screen. Closes https://github.com/wxWidgets/wxWidgets/pull/1444 Closes #9949.
This commit is contained in:
committed by
Vadim Zeitlin
parent
3bb74df215
commit
43c519e04f
@@ -154,6 +154,9 @@ public:
|
||||
// Gets information about the item
|
||||
bool GetItem(wxListItem& info) const;
|
||||
|
||||
// Check if the item is visible
|
||||
bool IsVisible(long item) const wxOVERRIDE;
|
||||
|
||||
// Sets information about the item
|
||||
bool SetItem(wxListItem& info);
|
||||
|
||||
|
Reference in New Issue
Block a user