X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=dialog.py;h=ced134bd31c41c91e3eaa6bbca58e93394b04e81;hp=22fb4957f497698526912a4c386a355a2089df0b;hb=fca6f30e3159a44e2a4f053546d1d7df21ad8c6b;hpb=ed89938c9c6812c3f9cef21200973e62cf3d3232;ds=sidebyside diff --git a/dialog.py b/dialog.py index 22fb495..ced134b 100755 --- a/dialog.py +++ b/dialog.py @@ -2600,10 +2600,10 @@ class ConcordList(wx.HtmlListBox): class message(wx.Frame): def __init__(self, parent, items, title, size, save = True, uceids = None): - wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = title, pos = wx.DefaultPosition, size = size, style = wx.DEFAULT_FRAME_STYLE ) + wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = title, pos = wx.DefaultPosition, size = size, style = wx.CLOSE_BOX|wx.DEFAULT_FRAME_STYLE|wx.FRAME_FLOAT_ON_PARENT|wx.TAB_TRAVERSAL ) self.save = save self.uceids = uceids - self.ira = wx.GetApp().GetTopWindow() + self.ira = wx.GetApp().GetTopWindow() self.SetIcon(self.ira._icon) self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize ) self.items = items