Class __Cleanup

Hello! I saw this class in many programs using OGL and say this class is obrigatory. I dont know what it do in the programs, if someone could explain me...

Diego

class __Cleanup:
    cleanup = wxOGLCleanUp
    def __del__(self):
        self.cleanup()

__cu = __Cleanup()

Hi...

Im trying to process left dclick/rightclick/etc events when a the mouse is
over a static bitmap, but the events are not being executed...

(I tried to specify the control, but python B&M'ed that EVT_LEFT_DCLICK
only takes two args.)

The events work when I LEFT DCLICK on the window and they run just fine,
but how can I get the mouse events to be recognized and executed when they
are done on the staticbitmap?

Regards,

Todd McCaskey
tmccaske@ecl.ufl.edu
Electronic Communication Laboratory
University of Florida
Gainesville, FL

···

-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/

Im so silly...

In my event table i had
EVT_LEFT_DOWN(self,self.mthdLeftDown)

and aparently i needed

EVT_LEFT_DOWN(self.gtrBITMAP() , self.mthdLeftDown)

Sorry to fill the inbox...

Todd

PS - If that is incorrect... Someone please let me know

···

Hi...

Im trying to process left dclick/rightclick/etc events when a the mouse
is over a static bitmap, but the events are not being executed...

(I tried to specify the control, but python B&M'ed that EVT_LEFT_DCLICK
only takes two args.)

The events work when I LEFT DCLICK on the window and they run just fine,
but how can I get the mouse events to be recognized and executed when
they are done on the staticbitmap?

Regards,

Todd McCaskey
tmccaske@ecl.ufl.edu
Electronic Communication Laboratory
University of Florida
Gainesville, FL

-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/

--------------------------------------------------------------------- To
unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org For
additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

--
Regards,

Todd McCaskey
tmccaske@ecl.ufl.edu
Electronic Communication Laboratory
University of Florida
Gainesville, FL

-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/