Changeset [4c63a7bae048d1908f415382f4b01a4147c1796a] by Jocelyn Legault
Revision 4c63a7bae048d1908f415382f4b01a4147c1796a,
committed by Jocelyn Legault
· October 16th, 2009 @ 06:36 PM
Gripper: Remove any modifications post destruction.
-
Gripper is a suicidal class and we need to make sure no modification to the class take place after the destructor is called. Doing so screws up the heap. (See case WM_LBUTTONUP, WM_NCLBUTTONUP and DMM_CANCEL_MOVE in Gripper::runProc(.))
-
The self pointer passed as parameter in Gripper::startGrip is removed since it was redundant.
Signed-off-by: Jocelyn Legault jocelynlegault@gmail.com
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/joce/npp-community/commit/4c63a7bae048d1908f41538...
4 changed files
-
M
PowerEditor/src/WinControls/DockingWnd/DockingCont.cpp -
M
PowerEditor/src/WinControls/DockingWnd/DockingManager.cpp -
M
PowerEditor/src/WinControls/DockingWnd/Gripper.cpp -
M
PowerEditor/src/WinControls/DockingWnd/Gripper.h