diff --git a/Cura/gui/configBase.py b/Cura/gui/configBase.py index 6882483..4e8a1d6 100644 --- a/Cura/gui/configBase.py +++ b/Cura/gui/configBase.py @@ -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 = [] diff --git a/Cura/gui/expertConfig.py b/Cura/gui/expertConfig.py index 1e47ec9..9233e33 100644 --- a/Cura/gui/expertConfig.py +++ b/Cura/gui/expertConfig.py @@ -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) diff --git a/Cura/gui/preferencesDialog.py b/Cura/gui/preferencesDialog.py index 4bbf755..c5decec 100644 --- a/Cura/gui/preferencesDialog.py +++ b/Cura/gui/preferencesDialog.py @@ -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)