Skip to content

Commit

Permalink
wxGUI/vclean: fix StaticLine widget parent win (#3056)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Jul 7, 2023
1 parent bf6e659 commit c2fd5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/modules/vclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def _layout(self):
sizer.Add(outSizer, proportion=0, flag=wx.ALL | wx.EXPAND, border=5)

sizer.Add(
wx.StaticLine(parent=self, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
wx.StaticLine(parent=self.panel, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
proportion=0,
flag=wx.EXPAND | wx.ALL,
border=5,
Expand All @@ -315,7 +315,7 @@ def _layout(self):
sizer.Add(bodySizer, proportion=1, flag=wx.ALL | wx.EXPAND, border=5)

sizer.Add(
wx.StaticLine(parent=self, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
wx.StaticLine(parent=self.panel, id=wx.ID_ANY, style=wx.LI_HORIZONTAL),
proportion=0,
flag=wx.EXPAND | wx.ALL,
border=5,
Expand Down

0 comments on commit c2fd5fe

Please sign in to comment.