chiark / gitweb /
Fixed close button about window for linux
authornallath <nallath@gmail.com>
Thu, 6 Feb 2014 14:05:19 +0000 (15:05 +0100)
committernallath <nallath@gmail.com>
Thu, 6 Feb 2014 14:05:19 +0000 (15:05 +0100)
Cura/gui/aboutWindow.py

index 0e713b7cbba5dfb00dbd69750ba5334fddcb2bdd..2bcaae53dc95f12f5660123b5f2feae219bfcde0 100644 (file)
@@ -3,9 +3,9 @@ __copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AG
 import wx
 import platform
 
-class aboutWindow(wx.Dialog):
+class aboutWindow(wx.Frame):
        def __init__(self):
-               super(aboutWindow, self).__init__(None, title="About")
+               super(aboutWindow, self).__init__(None, title="About", style = wx.DEFAULT_DIALOG_STYLE)
 
                wx.EVT_CLOSE(self, self.OnClose)