Skip to content

Commit

Permalink
wxGUI: fix another wx flag assertion error in iclass (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Mar 20, 2021
1 parent 9cc9574 commit 2963570
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gui/wxpython/iclass/dialogs.py
Expand Up @@ -705,10 +705,10 @@ def __layout(self):
btnSizer.Realize()

sizer.Add(dataSizer, proportion=1,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
flag=wx.EXPAND | wx.ALL, border=5)

sizer.Add(btnSizer, proportion=0,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
flag=wx.EXPAND | wx.ALL, border=5)

self.panel.SetSizer(sizer)
sizer.Fit(self)
Expand Down Expand Up @@ -805,10 +805,10 @@ def __layout(self):
btnSizer.Realize()

sizer.Add(dataSizer, proportion=1,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
flag=wx.EXPAND | wx.ALL, border=5)

sizer.Add(btnSizer, proportion=0,
flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
flag=wx.EXPAND | wx.ALL, border=5)

self.panel.SetSizer(sizer)
sizer.Fit(self)
Expand Down

0 comments on commit 2963570

Please sign in to comment.