From 944a5b2f33c9cea916082f66e63bbf8fae484c0e Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sat, 12 Nov 2016 15:52:24 +0200 Subject: [PATCH] ButtonsChoiceDialog: Pick style based on platform --- youtube_dl_gui/mainframe.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl_gui/mainframe.py b/youtube_dl_gui/mainframe.py index 00ddb6d..8ef51a1 100644 --- a/youtube_dl_gui/mainframe.py +++ b/youtube_dl_gui/mainframe.py @@ -1424,7 +1424,10 @@ class DoubleStageButton(wx.Button): class ButtonsChoiceDialog(wx.Dialog): - STYLE = wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX + if os.name == "nt": + STYLE = wx.DEFAULT_DIALOG_STYLE + else: + STYLE = wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX BORDER = 10