use ListView_RedrawItems() to implement wxListCtrl::RefreshItems(); added tests for it to the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-09-16 10:24:45 +00:00
parent 6dd25d20be
commit ebc9b89d52
3 changed files with 46 additions and 28 deletions

View File

@@ -40,6 +40,8 @@ public:
: wxListCtrl(parent, id, pos, size, style),
m_attr(*wxBLUE, *wxLIGHT_GREY, wxNullFont)
{
m_updated = -1;
#ifdef __POCKETPC__
EnableContextMenu();
#endif
@@ -88,6 +90,9 @@ private:
wxListItemAttr m_attr;
long m_updated;
DECLARE_NO_COPY_CLASS(MyListCtrl)
DECLARE_EVENT_TABLE()
};