From: Pablo d'A. <da...@us...> - 2007-01-13 18:28:05
|
Update of /cvsroot/hugin/hugin/src/hugin In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv23774 Modified Files: CPImageCtrl.cpp Log Message: fixed double control point deletion when pressing the "Del" button Index: CPImageCtrl.cpp =================================================================== RCS file: /cvsroot/hugin/hugin/src/hugin/CPImageCtrl.cpp,v retrieving revision 1.59 retrieving revision 1.60 diff -u -d -r1.59 -r1.60 --- CPImageCtrl.cpp 7 Dec 2006 20:33:34 -0000 1.59 +++ CPImageCtrl.cpp 13 Jan 2007 18:28:00 -0000 1.60 @@ -917,6 +917,7 @@ CPEvent ev(this, CPEvent::RIGHT_CLICK, FDiff2D(0,0)); emit(ev); } else { + /* // wxWidgets 2.6.1 using gtk 2 doesn't set the event object // properly.. do it here by hand e.SetEventObject(this); @@ -928,6 +929,7 @@ #ifndef __WXMAC__ m_editPanel->GetEventHandler()->ProcessEvent(e); #endif + */ } e.Skip(); } |