mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
PR 44 (modified): fixes print statements/functions in samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,7 @@ ver = 'installed'
|
||||
if ver == 'installed': ## import the installed version
|
||||
from wx.lib.floatcanvas import NavCanvas, Resources
|
||||
from wx.lib.floatcanvas import FloatCanvas as FC
|
||||
print "using installed version:", wx.lib.floatcanvas.__version__
|
||||
print("using installed version: %s" % wx.lib.floatcanvas.__version__)
|
||||
elif ver == 'local':
|
||||
## import a local version
|
||||
import sys
|
||||
@@ -125,7 +125,7 @@ class DrawFrame(wx.Frame):
|
||||
self.Moving = False
|
||||
|
||||
def TriHit(self, object):
|
||||
print "In TriHit"
|
||||
print("In TriHit")
|
||||
if not self.Moving:
|
||||
self.Moving = True
|
||||
self.StartPoint = object.HitCoordsPixel
|
||||
|
||||
Reference in New Issue
Block a user