pass e61 获取鼠标位置较pdf有改动
event.GetPositionTuple()
改为
(x,y) = (event.GetX(), event.GetY())
newPos = (x,y)
因为,貌似现在没有GetPositionTuple这个函数了
- wxPython.png 图片不能正确显示
- part1 chapter2 toolbar.py 里images不能用
- e35 运行后报错
wxPython in Action pdf
pass e61 获取鼠标位置较pdf有改动
event.GetPositionTuple()
改为
(x,y) = (event.GetX(), event.GetY())
newPos = (x,y)
因为,貌似现在没有GetPositionTuple这个函数了
wxPython in Action pdf