Lines Matching defs:theShape
190 wxShape *theShape = FindSelectedShape();
191 if (theShape)
192 doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), wxID_CUT, doc, NULL, 0.0, 0.0, true, theShape));
199 wxShape *theShape = FindSelectedShape();
200 if (theShape)
204 data.SetColour(theShape->GetBrush()->GetColour());
218 theBrush, theShape));
224 wxShape *theShape = FindSelectedShape();
225 if (theShape)
227 wxString newLabel = wxGetTextFromUser(_T("Enter new label"), _T("Shape Label"), ((MyEvtHandler *)theShape->GetEventHandler())->label);
228 GetDocument()->GetCommandProcessor()->Submit(new DiagramCommand(_T("Edit label"), OGLEDIT_EDIT_LABEL, (DiagramDocument*) GetDocument(), newLabel, theShape));