]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Patch from Dj Gilcrease adding the FNB_HIDE_ON_SINGLE_TAB flag for
[wxWidgets.git] / 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')