From: Robin Dunn Date: Fri, 9 Jun 2006 19:55:28 +0000 (+0000) Subject: Give wxMac its own set of face names X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/71f1747cd5ae2940688c7227cbac43dc98ea5140 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 --- 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',