From 957eb450a5eedb4eb0ab8fe1ce42c9393189f25d Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Fri, 4 Apr 2014 18:44:45 +0300 Subject: [PATCH] Change default parameters custom wx.ListCtrl --- youtube_dl_gui/YoutubeDLGUI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl_gui/YoutubeDLGUI.py b/youtube_dl_gui/YoutubeDLGUI.py index 761308f..7f5afe7 100644 --- a/youtube_dl_gui/YoutubeDLGUI.py +++ b/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)