rem: list.setImageList(imglist, wxListCtrl.NORMAL); 
context: 	display: function() {		if (this.loaded)			return;				this.panel.sizer = new wxBoxSizer(wxOrientation.VERTICAL);		var list = new wxListCtrl(this.panel, -1, wxDefaultPosition, wxDefaultSize, wxListCtrl.ICON | wxListCtrl.SINGLE_SEL | wxListCtrl.LIST);		this.panel.sizer.add(list, 1, wxStretch.EXPAND);				var w = 80, h = 40;				var imglist = new wxImageList(w, h, false, 0);				var previews = Atlas.Message.GetTerrainGroupPreviews(this.name, w, h).previews;		var i = 0;		var names = [];		for each (var p in previews)		{			imglist.add(p.imagedata);			list.insertItem(i, p.name, i);			names.push(p.name);			++i;		}		list.onMotion = function(evt) {			var hit = list.hitTest(evt.position);			var tip = undefined;			if (hit.item != -1 && (hit.flags & wxListHitTest.ONITEMICON))			{				tip = names[hit.item]				if (list.toolTip !== tip)					list.toolTip = tip;			}			else			{				tip = "";				if (list.toolTip !== tip)					list.toolTip = tip;			}		};		list.onItemSelected = function(evt) {			Atlas.SetSelectedTexture(names[evt.index]);		};				list.setImageList(imglist, wxListCtrl.NORMAL);		list.setImageList(imglist, wxListCtrl.SMALL);				this.panel.layout();				this.loaded = true;	}
meta: 4	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4/4c1bfa75e14b158d003c728f954185f27301a9d8/terrain.js/clean/binaries/data/tools/atlas/scripts/section/terrain.js