Browse Source

wxGUI: fix wx flag assertion error in DefaultFontDialog (#1545)

nilason 4 years ago
parent
commit
34acfb66cf
1 changed files with 1 additions and 2 deletions
  1. 1 2
      gui/wxpython/gui_core/dialogs.py

+ 1 - 2
gui/wxpython/gui_core/dialogs.py

@@ -2528,8 +2528,7 @@ class DefaultFontDialog(wx.Dialog):
         btnsizer.AddButton(btn)
         btnsizer.AddButton(btn)
         btnsizer.Realize()
         btnsizer.Realize()
 
 
-        border.Add(btnsizer, proportion=0,
-                   flag=wx.EXPAND | wx.ALIGN_RIGHT | wx.ALL, border=5)
+        border.Add(btnsizer, proportion=0, flag=wx.EXPAND | wx.ALL, border=5)
 
 
         panel.SetAutoLayout(True)
         panel.SetAutoLayout(True)
         panel.SetSizer(border)
         panel.SetSizer(border)