Центрирование расположения оконо на экране

This commit is contained in:
danamir
2018-12-06 15:38:01 +03:00
parent 70b2c089b5
commit bfb87190d4
4 changed files with 4 additions and 554 deletions

View File

@@ -128,6 +128,7 @@ class MainFrame(wx.Frame):
if __name__ == "__main__":
app = wx.App(False)
frame = MainFrame(None)
frame.Center()
frame.Show()
app.MainLoop()