parent
9e2cdde851
commit
aeb6ae91e5
|
@ -13,8 +13,8 @@ def main():
|
|||
|
||||
class configWindowBase(wx.Frame):
|
||||
"A base class for configuration dialogs. Handles creation of settings, and popups"
|
||||
def __init__(self, title):
|
||||
super(configWindowBase, self).__init__(None, title=title)
|
||||
def __init__(self, title, style=wx.DEFAULT_FRAME_STYLE):
|
||||
super(configWindowBase, self).__init__(None, title=title, style=style)
|
||||
|
||||
self.settingControlList = []
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ from util import validators
|
|||
class expertConfigWindow(configBase.configWindowBase):
|
||||
"Expert configuration window"
|
||||
def __init__(self):
|
||||
super(expertConfigWindow, self).__init__(title='Expert config')
|
||||
super(expertConfigWindow, self).__init__(title='Expert config', style=wx.DEFAULT_DIALOG_STYLE)
|
||||
|
||||
wx.EVT_CLOSE(self, self.OnClose)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ from util import profile
|
|||
|
||||
class preferencesDialog(configBase.configWindowBase):
|
||||
def __init__(self, parent):
|
||||
super(preferencesDialog, self).__init__(title="Preferences")
|
||||
super(preferencesDialog, self).__init__(title="Preferences", style=wx.DEFAULT_DIALOG_STYLE)
|
||||
|
||||
wx.EVT_CLOSE(self, self.OnClose)
|
||||
|
||||
|
|
Loading…
Reference in New Issue