[OGL] Event Handler and Composite shapes
Matthieu Brucher
matthieu.brucher at gmail.com
Wed Jun 27 22:47:59 PDT 2007
Has someone tried this code ? On Windows, the same happens, and analyzing
the CompositeShape code didn't tell me why this occurs...
Matthieu
2007/6/25, Matthieu Brucher <matthieu.brucher at gmail.com>:
>
> Here is a "small" sample :
> A simple rectangle shape is drawn on the canvas, with a custom event
> handler, everything works fine, a click prints "test" on the console
> A composite shape with a text is drawn, the composite shape has the same
> custom handler, clicking on the shape does not print "test"
>
> Matthieu
>
> 2007/6/25, Matthieu Brucher <matthieu.brucher at gmail.com>:
> >
> > Hi,
> >
> > I'm trying to use a composite shape on a canvas, with special events
> > handling, like gobal selection, double-click for un popup, stuff like t=
hat,
> > and I'm trying to derive from EvtHandler.
> >
> > Is there a reason why the events can't be handled by a custom handler ?
> > If I use a recangle shape, everything is fine, when I'm using the same
> > handler with a composite shape and some constraints for sub-shapes, no
> > events are processed by the composite shape :(
> >
> > Matthieu
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200706=
28/8a96a751/attachment.htm
More information about the wxpython-users
mailing list