X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e19b9131cb2d7c0f5d05dc75889172de49f788d0..549be22603984f9dd3a4ff43f7852f5aa6e6d633:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 8a8d63c4b9..12eb24ad90 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -60,7 +60,6 @@ _treeList = [ 'BitmapFromBuffer', 'RawBitmapAccess', 'DragScroller', -## 'AlphaDrawing', 'DelayedResult', 'ExpandoTextCtrl', 'ButtonPanel', @@ -68,6 +67,8 @@ _treeList = [ 'CustomTreeCtrl', 'AboutBox', 'AnimateCtrl', + 'AlphaDrawing', + 'GraphicsContext', ]), # managed windows == things with a (optional) caption you can close @@ -245,7 +246,7 @@ _treeList = [ # Images ('Using Images', [ -## 'AlphaDrawing', + 'AlphaDrawing', 'AnimationCtrl', 'ArtProvider', 'BitmapFromBuffer', @@ -261,13 +262,14 @@ _treeList = [ # Other stuff ('Miscellaneous', [ -## 'AlphaDrawing', + 'AlphaDrawing', 'ColourDB', ##'DialogUnits', # needs more explanations 'DragScroller', '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')