问题
I'm testing the ogl package in wxpython.
I want to drag a shape. And when I do drag it, I want a second shape to move at the same time. The problem is that I have not found a move/drag event. Only pre and post move events.
The only solution I can think of is to hide the second shape, and redraw it at the new position when the dragging is done.
And is the ogl package no longer maintained?
Oerjan Pettersen
回答1:
OGL was part of the contrib directory in wxWidgets up until version 2.8; contrib has been removed in trunk and is no longer part of wxWidgets proper. You can find OGL at wxCode now, but its status is shown there as unmaintained as well.
If you have not started yet using OGL, it's probably better not to do so.
来源:https://stackoverflow.com/questions/824628/wxpython-ogl-package-drag-event