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 = []
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)
\r
class preferencesDialog(configBase.configWindowBase):\r
def __init__(self, parent):\r
- super(preferencesDialog, self).__init__(title="Preferences")\r
+ super(preferencesDialog, self).__init__(title="Preferences", style=wx.DEFAULT_DIALOG_STYLE)\r
\r
wx.EVT_CLOSE(self, self.OnClose)\r
\r