ca8071ca9f
Two simple problems found in the new python ogl code. First is the patch for _canvas.py. Essentially: dx = abs(dc.LogicalToDeviceX(x - self._firstDragX)) dy = abs(dc.LogicalToDeviceY(y - self._firstDragY)) was incorrect because (x,y) and (self._firstDragX, self._firstDragY) are both already in Logical coordinates. Therefore the difference between the two is also in logical coordinates, and the conversion call is an error. This bug surfaces when you have OGL on a scrollwin, and you are far from the origin of the canvas. The second change in _composit.py basically removes the assumption that the child is in both self._children and self._divisions. Causes many problems when it's not. ;) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
||
---|---|---|
.. | ||
contrib | ||
demo | ||
distrib | ||
docs | ||
include/wx/wxPython | ||
misc | ||
samples | ||
scripts | ||
src | ||
SWIG | ||
wx | ||
wxPython | ||
wxversion | ||
.cvsignore | ||
b | ||
b.bat | ||
b.win32 | ||
config.py | ||
setup.py |