Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top