From 71f1747cd5ae2940688c7227cbac43dc98ea5140 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 9 Jun 2006 19:55:28 +0000 Subject: [PATCH] Give wxMac its own set of face names git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/StyledTextCtrl_2.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wxPython/demo/StyledTextCtrl_2.py b/wxPython/demo/StyledTextCtrl_2.py index 788f815a34..e84bee509b 100644 --- a/wxPython/demo/StyledTextCtrl_2.py +++ b/wxPython/demo/StyledTextCtrl_2.py @@ -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', -- 2.45.2