GUI: Add basic settings

This commit is contained in:
Mykola Grymalyuk
2023-05-09 12:39:33 -06:00
parent 2a002d8e82
commit b43c66c0bb
7 changed files with 322 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ class SysPatchMenu(wx.Frame):
Uses a Modal Dialog for smoother transition from other frames
"""
def __init__(self, parent: wx.Frame, title: str, global_constants: constants.Constants, screen_location: tuple = None, patches: dict = {}):
super(SysPatchMenu, self).__init__(parent, title=title, size=(350, 260))
super(SysPatchMenu, self).__init__(parent, title=title, size=(350, 260), style = wx.DEFAULT_FRAME_STYLE & ~(wx.RESIZE_BORDER | wx.MAXIMIZE_BOX))
self.title = title
self.constants: constants.Constants = global_constants