fix a typo causing the wrong method to be called.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-05-05 19:09:04 +00:00
parent 7270921da6
commit b14b1312ac

View File

@ -2178,7 +2178,7 @@ class Shape(ShapeEvtHandler):
dc.SetLogicalFunction(OGLRBLF) dc.SetLogicalFunction(OGLRBLF)
bound_x, bound_y = self.GetBoundingBoxMin() 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 # Choose the 'opposite corner' of the object as the stationary
# point in case this is non-centring resizing. # point in case this is non-centring resizing.