[GRASS-SVN] r40472 - in grass/branches/develbranch_6/gui/wxpython:
. gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 16 08:02:10 EST 2010
Author: martinl
Date: 2010-01-16 08:02:10 -0500 (Sat, 16 Jan 2010)
New Revision: 40472
Modified:
grass/branches/develbranch_6/gui/wxpython/gis_set.py
grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: set wx.Locale()
Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-01-16 11:43:39 UTC (rev 40471)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py 2010-01-16 13:02:10 UTC (rev 40472)
@@ -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/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2010-01-16 11:43:39 UTC (rev 40471)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2010-01-16 13:02:10 UTC (rev 40472)
@@ -619,6 +619,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/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py 2010-01-16 11:43:39 UTC (rev 40471)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py 2010-01-16 13:02:10 UTC (rev 40472)
@@ -1609,6 +1609,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