X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..99109c0ff1c29c7c977c073f9f8e0bf4b8e728f7:/wxPython/demo/ListCtrl.py diff --git a/wxPython/demo/ListCtrl.py b/wxPython/demo/ListCtrl.py index 879bc1baa0..76bb37b7d2 100644 --- a/wxPython/demo/ListCtrl.py +++ b/wxPython/demo/ListCtrl.py @@ -9,26 +9,6 @@ # Copyright: (c) 1998 by Total Control Software # Licence: wxWindows license #---------------------------------------------------------------------------- -# -# 11/20/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# -# 11/29/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o listctrl mixin needs wx renamer. -# o wx.ListItem.GetText() returns a wxString pointer, not the text. -# -# 12/14/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o ColumnSorterMixin implementation was broke - added event.Skip() -# to column click event to allow event to fall through to mixin. -# -# 12/21/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o wxColumnSorterMixin -> ColumnSorterMixin -# o wxListCtrlAutoWidthMixin -> ListCtrlAutoWidthMixin -# import wx import wx.lib.mixins.listctrl as listmix @@ -118,7 +98,8 @@ class TestListCtrlPanel(wx.Panel, listmix.ColumnSorterMixin): self.list = TestListCtrl(self, tID, style=wx.LC_REPORT - | wx.SUNKEN_BORDER + #| wx.BORDER_SUNKEN + | wx.BORDER_NONE | wx.LC_EDIT_LABELS #| wxLC_NO_HEADER #| wxLC_VRULES | wxLC_HRULES @@ -512,5 +493,5 @@ selection is enabled) if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])