From f5bed7a885024108682c32c74567cdf7bf2ed13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 10 Jul 2006 22:28:19 +0000 Subject: [PATCH] refresh tree item after changing its icon so that the change is visible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/treectrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 69c09c7d54..ef013be6f7 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -1013,6 +1013,8 @@ void wxTreeCtrl::SetItemImage(const wxTreeItemId& item, int image, return; data->SetImage(image, which); + + RefreshItem(item); } wxTreeItemParam *wxTreeCtrl::GetItemParam(const wxTreeItemId& item) const