[GRASS-SVN] r40473 - in grass/trunk/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 16 08:06:57 EST 2010


Author: martinl
Date: 2010-01-16 08:06:57 -0500 (Sat, 16 Jan 2010)
New Revision: 40473

Modified:
   grass/trunk/gui/wxpython/gis_set.py
   grass/trunk/gui/wxpython/gui_modules/menuform.py
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: set wx.Locale()
       (merge r40472 from devbr6)


Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2010-01-16 13:02:10 UTC (rev 40472)
+++ grass/trunk/gui/wxpython/gis_set.py	2010-01-16 13:06:57 UTC (rev 40473)
@@ -61,6 +61,8 @@
         self.listOfMapsetsSelectable = []
         
         wx.Frame.__init__(self, parent=parent, id=id, style=style)
+        
+        self.locale = wx.Locale(language = wx.LANGUAGE_DEFAULT)
 
         self.panel = wx.Panel(parent=self, id=wx.ID_ANY)
 

Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-01-16 13:02:10 UTC (rev 40472)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-01-16 13:06:57 UTC (rev 40473)
@@ -665,6 +665,8 @@
         wx.Frame.__init__(self, parent=parent, id=ID, title=title,
                           pos=wx.DefaultPosition, style=wx.DEFAULT_FRAME_STYLE | wx.TAB_TRAVERSAL)
 
+        self.locale = wx.Locale(language = wx.LANGUAGE_DEFAULT)
+
         self.panel = wx.Panel(parent=self, id=wx.ID_ANY)
 
         # statusbar

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2010-01-16 13:02:10 UTC (rev 40472)
+++ grass/trunk/gui/wxpython/wxgui.py	2010-01-16 13:06:57 UTC (rev 40473)
@@ -1556,6 +1556,8 @@
         # call parent class initializer
         wx.App.__init__(self, False)
         
+        self.locale = wx.Locale(language = wx.LANGUAGE_DEFAULT)
+        
     def OnInit(self):
         """!Initialize all available image handlers
 



More information about the grass-commit mailing list