]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxScrolledWindow.py
don't log mouse events by default
[wxWidgets.git] / wxPython / demo / wxScrolledWindow.py
index c3163fcaa746445f8904d7a65acdc10c7a867ed5..ca1f8f66197c75010d432f865a93c39fa23df7a2 100644 (file)
@@ -89,6 +89,8 @@ class MyCanvas(wxScrolledWindow):
             pen = wxPen("DARK ORCHID", 1, style)
             if style == wxUSER_DASH:
                 pen.SetDashes([0, 1, 2, 3, 4, 5, 6, 7, 8])
+                pen.SetColour("RED")
+
             dc.SetPen(pen)
             dc.DrawLine(300, y, 400, y)
             y = y + 10