Rework more windows to rely on auxiliary frame

This commit is contained in:
DarkPhoenix
2019-08-12 14:41:41 +03:00
parent 4f2e1be9ac
commit bcdefdc4ac
11 changed files with 24 additions and 25 deletions

View File

@@ -91,8 +91,7 @@ class LoadAnimation(wx.Window):
class WaitDialog(wx.Dialog):
def __init__(self, parent, title="Processing"):
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, title=title, size=(300, 30),
style=wx.NO_BORDER)
super().__init__(parent, id=wx.ID_ANY, title=title, size=(300, 30), style=wx.NO_BORDER)
mainSizer = wx.BoxSizer(wx.HORIZONTAL)
self.progress = LoadAnimation(self, label=title, size=(300, 30))