mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
print('with parenthesis') fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -142,7 +142,6 @@ class MyCanvas(wx.ScrolledWindow):
|
||||
"red", "blue", (25,25))
|
||||
self.DrawSavedLines(dc)
|
||||
|
||||
|
||||
def DrawSavedLines(self, dc):
|
||||
dc.SetPen(wx.Pen('MEDIUM FOREST GREEN', 4))
|
||||
for line in self.lines:
|
||||
@@ -218,7 +217,7 @@ class MyCanvas(wx.ScrolledWindow):
|
||||
## delta = evt.GetWheelDelta()
|
||||
## rot = evt.GetWheelRotation()
|
||||
## linesPer = evt.GetLinesPerAction()
|
||||
## print delta, rot, linesPer
|
||||
## print(delta, rot, linesPer)
|
||||
## ws = self.wheelScroll
|
||||
## ws = ws + rot
|
||||
## lines = ws / delta
|
||||
|
||||
Reference in New Issue
Block a user