X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a705ee4785d3943f0ebe3b01c25b76e0dff02772..922ba68045d84789ab1dfceb4d1aa1b6e2c5e810:/wxPython/demo/wxListCtrl.py diff --git a/wxPython/demo/wxListCtrl.py b/wxPython/demo/wxListCtrl.py index e54e9afe47..41645a29c3 100644 --- a/wxPython/demo/wxListCtrl.py +++ b/wxPython/demo/wxListCtrl.py @@ -82,14 +82,14 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin): tID = wxNewId() self.il = wxImageList(16, 16) - bmp = images.getSmilesBitmap() - #idx1 = self.il.AddWithColourMask(bmp, wxWHITE) - idx1 = self.il.Add(bmp) - bmp = images.getSmallUpArrowBitmap() - self.sm_up = self.il.Add(bmp) - bmp = images.getSmallDnArrowBitmap() - self.sm_dn = self.il.Add(bmp) + idx1 = self.il.Add(images.getSmilesBitmap()) + self.sm_up = self.il.Add(images.getSmallUpArrowBitmap()) + self.sm_dn = self.il.Add(images.getSmallDnArrowBitmap()) + + #idx1 = self.il.AddIcon(wxIconFromXPMData(images.getSmilesData())) + #self.sm_up = self.il.AddIcon(wxIconFromXPMData(images.getSmallUpArrowData())) + #self.sm_dn = self.il.AddIcon(wxIconFromXPMData(images.getSmallDnArrowData())) self.list = wxListCtrl(self, tID, style=wxLC_REPORT|wxSUNKEN_BORDER)#|wxLC_VRULES|wxLC_HRULES)