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 8393a74 commit a344250
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gui/wxpython/iclass/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,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 @@ -801,10 +801,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 a344250

Please sign in to comment.