Browse Source

ButtonsChoiceDialog: Pick style based on platform

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
944a5b2f33
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl_gui/mainframe.py

5
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

Loading…
Cancel
Save