Forráskód Böngészése

wxGUI: remove condition for wxpython3, native font dialog doesn't work with any version on Mac, see https://trac.osgeo.org/grass/ticket/3046

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68545 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 éve
szülő
commit
7e2558eba8
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      gui/wxpython/gui_core/preferences.py

+ 1 - 1
gui/wxpython/gui_core/preferences.py

@@ -729,7 +729,7 @@ class PreferencesDialog(PreferencesBaseDialog):
         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)