X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8793725c62b1310d8fc25bd0fb04847d1f2af1e6..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/demo/ScrolledWindow.py diff --git a/wxPython/demo/ScrolledWindow.py b/wxPython/demo/ScrolledWindow.py index ac36542551..35087538d8 100644 --- a/wxPython/demo/ScrolledWindow.py +++ b/wxPython/demo/ScrolledWindow.py @@ -137,6 +137,10 @@ class MyCanvas(wx.ScrolledWindow): dc.SetPen(old_pen) dc.DrawRectangle(490,90, 20,20) + dc.GradientFillLinear((20, 260, 50, 50), + "red", "blue") + dc.GradientFillConcentric((20, 325, 50, 50), + "red", "blue", (25,25)) self.DrawSavedLines(dc) dc.EndDrawing()