From ce6c7c7dc519e45994eddd1042d6ae4492fcf614 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sat, 12 Nov 2016 15:38:54 +0200 Subject: [PATCH] ButtonsChoiceDialog: Fix cancel button look --- youtube_dl_gui/mainframe.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/youtube_dl_gui/mainframe.py b/youtube_dl_gui/mainframe.py index 32d9883..00ddb6d 100644 --- a/youtube_dl_gui/mainframe.py +++ b/youtube_dl_gui/mainframe.py @@ -1437,13 +1437,11 @@ class ButtonsChoiceDialog(wx.Dialog): panel = wx.Panel(self) info_bmp = wx.ArtProvider.GetBitmap(wx.ART_INFORMATION, wx.ART_MESSAGE_BOX) - cancel_bmp = wx.ArtProvider.GetBitmap(wx.ART_CLOSE, wx.ART_BUTTON) info_icon = wx.StaticBitmap(panel, wx.ID_ANY, info_bmp) msg_text = wx.StaticText(panel, wx.ID_ANY, message) - buttons.append(wx.Button(panel, wx.ID_CANCEL, "Close")) - buttons[0].SetBitmap(cancel_bmp) + buttons.append(wx.Button(panel, wx.ID_CANCEL, "Cancel")) for index, label in enumerate(choices): buttons.append(wx.Button(panel, index + 1, label))