added RefreshItem(s) methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-13 20:09:44 +00:00
parent 770dba7a7b
commit 1a6cb56fb5
2 changed files with 17 additions and 0 deletions

View File

@@ -146,6 +146,13 @@ public:
// returns true if it is a virtual list control
bool IsVirtual() const { return (GetWindowStyle() & wxLC_VIRTUAL) != 0; }
// refresh items selectively (only useful for virtual list controls)
void RefreshItem(long item);
void RefreshItems(long itemFrom, long itemTo);
// implementation only from now on
// -------------------------------
void OnIdle( wxIdleEvent &event );
void OnSize( wxSizeEvent &event );