wxClientDC dc(GetCanvas());
GetCanvas()->PrepareDC(dc);
-
+/*
if (pt->m_eraseObject)
this->Erase(dc);
+*/
dc.SetLogicalFunction(wxXOR);
this->Recompute();
this->ResetControlPoints();
+ this->Erase(dc);
+/*
if (!pt->m_eraseObject)
this->Show(FALSE);
+*/
this->SetSize(pt->controlPointDragEndWidth, pt->controlPointDragEndHeight);
else
theObject->Move(dc, pt->controlPointDragPosX, pt->controlPointDragPosY);
+/*
if (!eraseIt)
theObject->Show(TRUE);
+*/
// Recursively redraw links if we have a composite.
if (theObject->GetChildren().Number() > 0)