So if you didn't override the FindShape method (as I did in my
example), you're probably getting a tuple containing the shape and its
nearest attachment point... so the right code is:
Tanks! That helps a lot! Didn't see that I was getting a tuple...
BTW: In which file can I find the source code for wxShapeEvtHandler? Would
be nice to have a look at it when overriding its methods.
Should get you going I am not having a go at you but as a tech support type,
I have found that where a large number of questions can get answered "google is
your friend", an equally large number in programming can get answered by "grep
is your friend" In fact, not much can't be answered by the two in combination
LOL
When I did it I found a large number of references in the wxPython/contrib/ogl
directory. I did not look to see if there are any in wxWindows itself. Try grepping
higher up the CVS tree!
HTH
MarkL
···
On Tue, 9 Sep 2003 13:38:11 +0200 Thomas Aanensen <thoaan@stud.cs.uit.no> wrote:
BTW: In which file can I find the source code for wxShapeEvtHandler? Would
be nice to have a look at it when overriding its methods.