]> git.saurik.com Git - wxWidgets.git/commitdiff
For whatever reason, font-size 9 is now hardly readable on Mac. Using default font...
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 28 Oct 2006 16:55:54 +0000 (16:55 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 28 Oct 2006 16:55:54 +0000 (16:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Main.py

index 4fe49880155cd2fef9c1568ad0dda0dac73d378c..12eb24ad90b31d71cf1176bdd9028c22688c6f9f 100644 (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')