fixed bug due to which all items in a virtual control stayed sometimes selected even after Clear()ing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
830efc9b0c
commit
229653c99e
@ -144,7 +144,7 @@ public:
|
|||||||
void SetItemCount(size_t count) { m_count = count; }
|
void SetItemCount(size_t count) { m_count = count; }
|
||||||
|
|
||||||
// special case of SetItemCount(0)
|
// special case of SetItemCount(0)
|
||||||
void Clear() { m_itemsSel.Clear(); m_count = 0; }
|
void Clear() { m_itemsSel.Clear(); m_count = 0; m_defaultState = false; }
|
||||||
|
|
||||||
// must be called when a new item is inserted/added
|
// must be called when a new item is inserted/added
|
||||||
void OnItemAdd(size_t item) { wxFAIL_MSG( _T("TODO") ); }
|
void OnItemAdd(size_t item) { wxFAIL_MSG( _T("TODO") ); }
|
||||||
|
Loading…
Reference in New Issue
Block a user