- Bugfix: no double adding.

This commit is contained in:
ccremers 2006-08-07 16:36:54 +00:00
parent ffafe946cf
commit 8b311e0411

View File

@ -196,6 +196,7 @@ class ErrorWindow(wx.Dialog):
label = wx.StaticText(self, -1, "\n".join(errors)) label = wx.StaticText(self, -1, "\n".join(errors))
sizer.Add(label, 0, wx.ALIGN_LEFT|wx.ALL, 5) sizer.Add(label, 0, wx.ALIGN_LEFT|wx.ALL, 5)
line = wx.StaticLine(self, -1, size=(20,-1), style=wx.LI_HORIZONTAL)
sizer.Add(line, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP, 5) sizer.Add(line, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP, 5)
btnsizer = wx.StdDialogButtonSizer() btnsizer = wx.StdDialogButtonSizer()