Various updates, changes for wxTopLevelWindow, fixes for
wxPen.SetDashes, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user