- def TestListCtrl(self, p):
- w = wx.ListCtrl(p, -1, size=(250, 100), style=wx.LC_REPORT)
+ def TestListCtrl(self, p, useGridLines=False):
+ style=wx.LC_REPORT
+ if useGridLines:
+ style = style | wx.LC_HRULES | wx.LC_VRULES
+ w = wx.ListCtrl(p, -1, size=(250, 100), style=style)