From 1d938687122e2f4fc64f3770085d9c93572c430b Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Fri, 14 Oct 2016 23:25:36 +0300 Subject: [PATCH] ExtraTab: Replace wx. methods with crt_* methods --- youtube_dl_gui/optionsframe.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/youtube_dl_gui/optionsframe.py b/youtube_dl_gui/optionsframe.py index 770c4c3..327a1ee 100644 --- a/youtube_dl_gui/optionsframe.py +++ b/youtube_dl_gui/optionsframe.py @@ -643,11 +643,11 @@ class ExtraTab(TabPanel): def __init__(self, *args, **kwargs): super(ExtraTab, self).__init__(*args, **kwargs) - self.cmdline_args_label = wx.StaticText(self, label="Command line arguments (e.g. --help)") - self.cmdline_args_textctrl = wx.TextCtrl(self, style=wx.TE_MULTILINE | wx.TE_LINEWRAP) + self.cmdline_args_label = self.crt_statictext("Command line arguments (e.g. --help)") + self.cmdline_args_textctrl = self.crt_textctrl(wx.TE_MULTILINE | wx.TE_LINEWRAP) - self.extra_opts_label = wx.StaticText(self, label="Extra options") - self.ignore_errors_checkbox = wx.CheckBox(self, label="Ignore errors") + self.extra_opts_label = self.crt_statictext("Extra options") + self.ignore_errors_checkbox = self.crt_checkbox("Ignore errors") self._set_layout()