Browse Source

Change default parameters custom wx.ListCtrl

doc-issue-template
MrS0m30n3 10 years ago
parent
commit
957eb450a5
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl_gui/YoutubeDLGUI.py

2
youtube_dl_gui/YoutubeDLGUI.py

@ -275,7 +275,7 @@ class MainFrame(wx.Frame):
class ListCtrl(wx.ListCtrl):
''' Custom ListCtrl class '''
def __init__(self, parent=None, id=-1, pos=(-1, -1), size=(-1, -1), style=wx.LC_ICON):
def __init__(self, parent=None, id=-1, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0):
wx.ListCtrl.__init__(self, parent, id, pos, size, style)
self.InsertColumn(0, 'URL', width=150)
self.InsertColumn(1, 'Size', width=90)

Loading…
Cancel
Save