X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51aad6d34f4f434686868d926437c8cad3984824..37938059802214c6e71b9a06f275ab9e72d55c95:/wxPython/demo/Main.py 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')