projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4e0917
)
Applied SetItemData() patch.
author
Robert Roebling
<robert@roebling.de>
Sat, 20 Mar 2004 16:21:19 +0000
(16:21 +0000)
committer
Robert Roebling
<robert@roebling.de>
Sat, 20 Mar 2004 16:21:19 +0000
(16:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26286
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/treectlg.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/treectlg.cpp
b/src/generic/treectlg.cpp
index 4e79785c025ea9836ef03d218d4dfa8da8f31924..4767c02c687826af2feba0c3ca16902283667efe 100644
(file)
--- a/
src/generic/treectlg.cpp
+++ b/
src/generic/treectlg.cpp
@@
-929,6
+929,9
@@
void wxGenericTreeCtrl::SetItemData(const wxTreeItemId& item, wxTreeItemData *da
{
wxCHECK_RET( item.IsOk(), wxT("invalid tree item") );
+ if (data)
+ data->SetId( item );
+
((wxGenericTreeItem*) item.m_pItem)->SetData(data);
}