]> git.saurik.com Git - wxWidgets.git/commitdiff
Give wxMac its own set of face names
authorRobin Dunn <robin@alldunn.com>
Fri, 9 Jun 2006 19:55:28 +0000 (19:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 9 Jun 2006 19:55:28 +0000 (19:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/StyledTextCtrl_2.py

index 788f815a3456ce0f7d4581b9b85b3a16982a82c2..e84bee509bd633725e2b75c7b528ee302e590d11 100644 (file)
@@ -26,6 +26,14 @@ if wx.Platform == '__WXMSW__':
               'size' : 10,
               'size2': 8,
              }
+elif wx.Platform == '__WXMAC__':
+    faces = { 'times': 'Times New Roman',
+              'mono' : 'Courier New',
+              'helv' : 'Arial',
+              'other': 'Comic Sans MS',
+              'size' : 12,
+              'size2': 10,
+             }
 else:
     faces = { 'times': 'Times',
               'mono' : 'Courier',