[wxPython] wxDrawnShape

Hi,

    I'm trying to use wxDrawnShape to draw a complicated shape.
    This works, but I also want to be able to resize this shape.

    Whatever I try, the 'OnLeftClick' method of my
    wxShapeEvtHandler-derived class instance never gets called.

    Can anyone tell me what to do?

    Thanks in advance.

···

____________________________________________________________________________
Fred Gansevles <mailto:Fred.Gansevles@cs.utwente.nl> Phone: +31 53 489 4613
        >>> Your one-stop-shop for Linux/WinNT/NetWare <<<
Org.: Twente University, Fac. of CS, Box 217, 7500 AE Enschede, Netherlands
      "Bill needs more time to learn Linux" - Steve B.

Fred Gansevles writes:

    Whatever I try, the 'OnLeftClick' method of my
    wxShapeEvtHandler-derived class instance never gets called.

Are you binding the event with the proper EVT_LEFT_DOWN or EVT_RIGHT_UP
call, or are you just creating a method named "OnLeftClick"? That last one
shouldn't work....