]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
some people disliked the asterisks in wxDebugReport dialog, removed (patch 1491869)
[wxWidgets.git] / wxPython / demo / Main.py
index e25583b64dfc178fd9cffab6eb0a99d75d238618..12eb24ad90b31d71cf1176bdd9028c22688c6f9f 100644 (file)
@@ -68,6 +68,7 @@ _treeList = [
         'AboutBox',
         'AnimateCtrl',
         'AlphaDrawing',
+        'GraphicsContext',
         ]),
 
     # managed windows == things with a (optional) caption you can close
@@ -268,6 +269,7 @@ _treeList = [
         'DrawXXXList',
         'FileHistory',
         'FontEnumerator',
+        'GraphicsContext',
         'GLCanvas',
         'Joystick',
         'MimeTypesManager',
@@ -489,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')