From: Kevin Ollivier Date: Sat, 28 Oct 2006 16:55:54 +0000 (+0000) Subject: For whatever reason, font-size 9 is now hardly readable on Mac. Using default font... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f2b90153e9580ef89095cec62a61f770cb24ef9 For whatever reason, font-size 9 is now hardly readable on Mac. Using default font size on that platform for now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 4fe4988015..12eb24ad90 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -491,6 +491,11 @@ try: if wx.Platform == '__WXMSW__': self.StyleSetSpec(stc.STC_STYLE_DEFAULT, 'fore:#000000,back:#FFFFFF,face:Courier New,size:9') + elif wx.Platform == '__WXMAC__': + # TODO: if this looks fine on Linux too, remove the Mac-specific case + # and use this whenever OS != MSW. + self.StyleSetSpec(stc.STC_STYLE_DEFAULT, + 'fore:#000000,back:#FFFFFF,face:Courier') else: self.StyleSetSpec(stc.STC_STYLE_DEFAULT, 'fore:#000000,back:#FFFFFF,face:Courier,size:9')