projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45961fa
)
fixed wxListCtrl::SetItem -- changing attributes of item with attributes already...
author
Václav Slavík
<vslavik@fastmail.fm>
Tue, 15 Aug 2000 21:44:04 +0000
(21:44 +0000)
committer
Václav Slavík
<vslavik@fastmail.fm>
Tue, 15 Aug 2000 21:44:04 +0000
(21:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8108
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/listctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/listctrl.cpp
b/src/msw/listctrl.cpp
index cbe91c88783de44fcd73d29b24e29821efea4ac0..b2febb84362ef4b014b4c269c284fed6230b48d7 100644
(file)
--- a/
src/msw/listctrl.cpp
+++ b/
src/msw/listctrl.cpp
@@
-632,6
+632,7
@@
bool wxListCtrl::SetItem(wxListItem& info)
// check whether it has any custom attributes
if ( info.HasAttributes() )
{
+ m_attrs.Delete(item.iItem); // remove existing attributes
m_attrs.Put(item.iItem, (wxObject *)new wxListItemAttr(*info.GetAttributes()));
m_hasAnyAttr = TRUE;