X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=8cd7352bf2b00334a4f8dad38f95150bb907819f;hp=f38a5c523a1420370140730e29c00f31cdad6b13;hb=35feaa5dc8cbd055e732567e012780d88b92ffe5;hpb=992d1e91b97a956ca2a7336e9f365ff8bea45e03 diff --git a/functions.py b/functions.py index f38a5c5..8cd7352 100644 --- a/functions.py +++ b/functions.py @@ -306,7 +306,7 @@ def write_tab(tab, fileout) : class BugDialog(wx.Dialog): def __init__(self, *args, **kwds): # begin wxGlade: MyDialog.__init__ - kwds["style"] = wx.DEFAULT_DIALOG_STYLE + kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.STAY_ON_TOP kwds["size"] = wx.Size(500, 200) wx.Dialog.__init__(self, *args, **kwds) self.SetTitle(kwds['title']) @@ -707,11 +707,10 @@ def progressbar(self, maxi) : parent=parent, style=wx.PD_APP_MODAL | wx.PD_AUTO_HIDE | wx.PD_ELAPSED_TIME | wx.PD_CAN_ABORT ) - prog.SetIcon(ira._icon) prog.SetSize((400,150)) + prog.SetIcon(ira._icon) return prog - def treat_var_mod(variables) : var_mod = {} variables = list(set(variables))