X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0482c494d3a5a518ac65ee0386ddc23517f07188..e478ff9e2d0e7af89771856b4b57f5f280bd5343:/wxPython/demo/Mask.py diff --git a/wxPython/demo/Mask.py b/wxPython/demo/Mask.py index cf7123cb8f..149019ca72 100644 --- a/wxPython/demo/Mask.py +++ b/wxPython/demo/Mask.py @@ -58,6 +58,7 @@ class TestMaskWindow(wx.ScrolledWindow): def OnPaint (self, e): + self.SetBackgroundColour(wx.Colour(0,128,0)) dc = wx.PaintDC(self) self.PrepareDC(dc) dc.SetTextForeground(wx.WHITE) @@ -127,5 +128,5 @@ Context (dc) Blit() method's logic codes. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])