]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
Include wx/stopwatch.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / msw / treectrl.cpp
index 69c09c7d545947c46710d1b0c637b3b29488b901..ef013be6f74d82d57b40e2d62af0e14d04b86d26 100644 (file)
@@ -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