]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ogl/_basic.py
redirect to the page only the help events coming from this control itself to avoid...
[wxWidgets.git] / wxPython / wx / lib / ogl / _basic.py
index 646a95af588c67fbbff6632f26ea87bb253e46e7..4ace078e4435960bed9b8ed49734a38ca6ed0ca8 100644 (file)
@@ -2178,7 +2178,7 @@ class Shape(ShapeEvtHandler):
         dc.SetLogicalFunction(OGLRBLF)
 
         bound_x, bound_y = self.GetBoundingBoxMin()
-        self.GetEventHandler().OnEndSize(bound_x, bound_y)
+        self.GetEventHandler().OnBeginSize(bound_x, bound_y)
 
         # Choose the 'opposite corner' of the object as the stationary
         # point in case this is non-centring resizing.