Add a dummy so that roots can be expanded.

TODO: Remove the dummy and fill up actual contents once the expansion actualy happens
This commit is contained in:
cncfanatics
2010-08-15 17:49:17 +02:00
parent 8d0c2042ea
commit f99765f749

View File

@@ -54,4 +54,5 @@ class MarketBrowser(wx.Panel):
root = cMarket.getMarketRoot()
for id, name, iconFile in root:
iconId = self.marketImageList.Add(bitmapLoader.getBitmap(iconFile, "pack"))
self.marketView.AppendItem(self.marketRoot, name, iconId)
childId = self.marketView.AppendItem(self.marketRoot, name, iconId)
self.marketView.AppendItem(childId, "dummy")