[GRASS-SVN] r68545 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 31 12:02:50 PDT 2016


Author: annakrat
Date: 2016-05-31 12:02:50 -0700 (Tue, 31 May 2016)
New Revision: 68545

Modified:
   grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
wxGUI: remove condition for wxpython3, native font dialog doesn't work with any version on Mac, see #3046

Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py	2016-05-31 17:03:39 UTC (rev 68544)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py	2016-05-31 19:02:50 UTC (rev 68545)
@@ -729,7 +729,7 @@
         panel.SetSizer(border)
 
         # bindings
-        if sys.platform == 'darwin' and globalvar.CheckWxVersion([3]):
+        if sys.platform == 'darwin':
             outfontButton.Bind(wx.EVT_BUTTON, self.OnSetOutputFontCustomDialog)
         else:
             outfontButton.Bind(wx.EVT_BUTTON, self.OnSetOutputFont)



More information about the grass-commit mailing list