wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.33k stars 516 forks source link

Fix rubberband overlapping #2652

Open belono opened 13 hours ago

belono commented 13 hours ago

Fixes #2627

This fixes the rubberband (lib.mixins.rubberband) overlapping on each draw, resize or move due to the __drawAndErase() method that is not clearing the old box before moving or resizing the bounding box but drawing another box.