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:
oneeyeman1
2019-08-04 20:09:03 -05:00
committed by Vadim Zeitlin
parent 3bb74df215
commit 43c519e04f
8 changed files with 73 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ protected:
void OnSmallIconTextView(wxCommandEvent& event);
void OnVirtualView(wxCommandEvent& event);
void OnSmallVirtualView(wxCommandEvent& event);
void OnCheckVisibility(wxCommandEvent& event);
void OnSetItemsCount(wxCommandEvent& event);
@@ -247,6 +247,6 @@ enum
#ifdef __WXOSX__
LIST_MAC_USE_GENERIC,
#endif
LIST_CHECKVISIBILITY,
LIST_CTRL = 1000
};