[GRASS-SVN] r64491 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 7 00:49:05 PST 2015


Author: martinl
Date: 2015-02-07 00:49:05 -0800 (Sat, 07 Feb 2015)
New Revision: 64491

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: splash screen cosmetics (use named arguments)

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2015-02-07 08:47:29 UTC (rev 64490)
+++ grass/trunk/gui/wxpython/wxgui.py	2015-02-07 08:49:05 UTC (rev 64491)
@@ -72,9 +72,9 @@
         self.app = app
         
         bitmap = wx.Image(name=os.path.join(globalvar.IMGDIR, "splash_screen.png")).ConvertToBitmap()
-        wx.SplashScreen.__init__(self, bitmap,
-                                 wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
-                                 2000, parent)
+        wx.SplashScreen.__init__(self, bitmap=bitmap,
+                                 splashStyle=wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
+                                 milliseconds=2000, parent=parent)
         self.Bind(wx.EVT_CLOSE, self.OnExit)
 
         wx.Yield()



More information about the grass-commit mailing list