- wxTR_HAS_BUTTONS | wxTR_EDIT_LABELS)# | wxTR_MULTIPLE)
-
- #import images
- #il = wxImageList(16, 16)
- #idx1 = il.Add(images.getSmilesBitmap())
- #idx2 = il.Add(images.getOpenBitmap())
- #idx3 = il.Add(images.getNewBitmap())
- #idx4 = il.Add(images.getCopyBitmap())
- #idx5 = il.Add(images.getPasteBitmap())
-
- #self.tree.SetImageList(il)
- #self.il = il
+ wxTR_HAS_BUTTONS
+ | wxTR_EDIT_LABELS
+ #| wxTR_MULTIPLE
+ #| wxTR_HIDE_ROOT
+ , self.log)
+
+ isz = (16,16)
+ il = wxImageList(isz[0], isz[1])
+ fldridx = il.Add(wxArtProvider_GetBitmap(wxART_FOLDER, wxART_OTHER, isz))
+ fldropenidx = il.Add(wxArtProvider_GetBitmap(wxART_FILE_OPEN, wxART_OTHER, isz))
+ fileidx = il.Add(wxArtProvider_GetBitmap(wxART_REPORT_VIEW, wxART_OTHER, isz))
+ smileidx = il.Add(images.getSmilesBitmap())
+
+ self.tree.SetImageList(il)
+ self.il = il