[GRASS-SVN] r40474 - in
grass/branches/releasebranch_6_4/gui/wxpython: . gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 16 08:11:10 EST 2010
Author: martinl
Date: 2010-01-16 08:11:09 -0500 (Sat, 16 Jan 2010)
New Revision: 40474
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
wxGUI: set wx.Locale()
(merge r40472 from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py 2010-01-16 13:06:57 UTC (rev 40473)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py 2010-01-16 13:11:09 UTC (rev 40474)
@@ -60,6 +60,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/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py 2010-01-16 13:06:57 UTC (rev 40473)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py 2010-01-16 13:11:09 UTC (rev 40474)
@@ -726,6 +726,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/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2010-01-16 13:06:57 UTC (rev 40473)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2010-01-16 13:11:09 UTC (rev 40474)
@@ -1727,6 +1727,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
wx.InitAllImageHandlers()
More information about the grass-commit
mailing list