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

@@ -26,7 +26,7 @@ from gui.bitmap_loader import BitmapLoader
class PreferenceDialog(wx.Dialog):
def __init__(self, parent):
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, size=wx.DefaultSize, style=wx.DEFAULT_DIALOG_STYLE)
super().__init__(parent, id=wx.ID_ANY, size=wx.DefaultSize, style=wx.DEFAULT_DIALOG_STYLE)
self.SetTitle("pyfa - Preferences")
i = wx.Icon(BitmapLoader.getBitmap("preferences_small", "gui"))
self.SetIcon(i)