]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a set for wxMac too
authorRobin Dunn <robin@alldunn.com>
Fri, 26 Mar 2004 01:03:11 +0000 (01:03 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 26 Mar 2004 01:03:11 +0000 (01:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/py/editwindow.py

index cb1811f67578fa68f587b8053cc09f0deac6ebf0..a0f16da42d897616a2817d7e7abcfc9baf415bbd 100644 (file)
@@ -19,7 +19,7 @@ from version import VERSION
 if 'wxMSW' in wx.PlatformInfo:
     FACES = { 'times'     : 'Times New Roman',
               'mono'      : 'Courier New',
-              'helv'      : 'Lucida Console',
+              'helv'      : 'Arial',
               'lucida'    : 'Lucida Console',
               'other'     : 'Comic Sans MS',
               'size'      : 10,
@@ -41,7 +41,19 @@ elif 'wxGTK' in wx.PlatformInfo and 'gtk2' in wx.PlatformInfo:
               'calltipfg' : '#404040',
             }
 
-else: # GTK1, OSX, etc.
+elif 'wxMac' in wx.PlatformInfo:
+    FACES = { 'times'     : 'Lucida Grande',
+              'mono'      : 'Courier New',
+              'helv'      : 'Geneva',
+              'other'     : 'new century schoolbook',
+              'size'      : 13,
+              'lnsize'    : 10,
+              'backcol'   : '#FFFFFF',
+              'calltipbg' : '#FFFFB8',
+              'calltipfg' : '#404040',
+            }
+
+else: # GTK1, etc.
     FACES = { 'times'     : 'Times',
               'mono'      : 'Courier',
               'helv'      : 'Helvetica',