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:
@@ -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()
|
||||
};
|
||||
|
Reference in New Issue
Block a user