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
This commit is contained in:
Kevin Ollivier
2006-10-28 16:55:54 +00:00
parent daa6105f2f
commit 1f2b90153e

View File

@@ -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')