Part of PR 36 from Metallicow. Py3 and Phoenix updates for maskededit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2014-01-11 21:40:20 +00:00
parent 67aaf6547e
commit 2ef0524e42

View File

@@ -329,7 +329,7 @@ class RubberBand:
Draw one box shape and possibly erase another.
"""
dc = wx.ClientDC(self.drawingSurface)
dc.SetPen(wx.Pen(wx.WHITE, 1, wx.DOT))
dc.SetPen(wx.Pen(wx.WHITE, 1, wx.PENSTYLE_DOT))
dc.SetBrush(wx.TRANSPARENT_BRUSH)
dc.SetLogicalFunction(wx.XOR)
if boxToErase: