events OnBeginSize and OnEndSize in OGL

Hi! Someone know what could happen here? I trying to use these two
events (BeginSize, EndSize). OnBeginSize doesnt works and OnEndSize
works. I cant understand because both are writted the same way.

Diego

class MyEvent(wxShapeEvtHandler):
  def __init__(self):
    wxShapeEvtHandler.__init__(self)

  def OnEndSize(self, x, y):
    print "end"

  def OnBeginSize(self, x, y):
    print "begin"
  
.
.
.
.

Diego Galho Prestes wrote:

Hi! Someone know what could happen here? I trying to use these two
events (BeginSize, EndSize). OnBeginSize doesnt works and OnEndSize
works. I cant understand because both are writted the same way.

It appears that OnBeginSize is never called from within the OGL C++ code. Should be easy to fix though.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!