]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxListCtrl.py
Change demo to not try to drop the table when it thinks it is creating it for the...
[wxWidgets.git] / wxPython / demo / wxListCtrl.py
index 7d915f6cf729982b522271f31ecc7a173779ce56..6f10f7d7a9ccbe2f8e6efdffb19b1ad00bd02fb9 100644 (file)
@@ -57,6 +57,7 @@ musicdata = {
 39: ("Yes", "Rhythm Of Love", "Rock"),
 }
 
+import images
 
 class TestListCtrlPanel(wxPanel):
     def __init__(self, parent, log):
@@ -66,7 +67,7 @@ class TestListCtrlPanel(wxPanel):
         tID = wxNewId()
 
         self.il = wxImageList(16, 16)
-        bmp = wxBitmap('bitmaps/smiles.bmp', wxBITMAP_TYPE_BMP)
+        bmp = images.getSmilesBitmap()
         idx1 = self.il.AddWithColourMask(bmp, wxWHITE)
 
         self.list = wxListCtrl(self, tID,