]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/wxPIA_book/Chapter-07/list_box.py
move wxPython to new trunk
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-07 / list_box.py
diff --git a/wxPython/samples/wxPIA_book/Chapter-07/list_box.py b/wxPython/samples/wxPIA_book/Chapter-07/list_box.py
deleted file mode 100644 (file)
index e7438d7..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-import wx
-
-class ListBoxFrame(wx.Frame):
-    def __init__(self):
-        wx.Frame.__init__(self, None, -1, 'List Box Example', 
-                size=(250, 200))
-        panel = wx.Panel(self, -1)
-
-        sampleList = ['zero', 'one', 'two', 'three', 'four', 'five',
-                      'six', 'seven', 'eight', 'nine', 'ten', 'eleven',
-                      'twelve', 'thirteen', 'fourteen']
-
-        listBox = wx.ListBox(panel, -1, (20, 20), (80, 120), sampleList, 
-                wx.LB_SINGLE)
-        listBox.SetSelection(3)
-                
-if __name__ == '__main__':
-    app = wx.PySimpleApp()
-    ListBoxFrame().Show()
-    app.MainLoop()  
-