Lines Matching defs:doc
30 #include "doc.h"
44 bool DiagramView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
54 doc->GetCommandProcessor()->SetEditMenu(((MyFrame *)frame)->editMenu);
55 doc->GetCommandProcessor()->Initialize();
58 DiagramDocument *diagramDoc = (DiagramDocument *)doc;
172 DiagramDocument *doc = (DiagramDocument *)GetDocument();
173 wxObjectList::compatibility_iterator node = doc->GetDiagram()->GetShapeList()->GetFirst();
188 DiagramDocument *doc = (DiagramDocument *)GetDocument();
192 doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), wxID_CUT, doc, NULL, 0.0, 0.0, true, theShape));
197 DiagramDocument *doc = (DiagramDocument *)GetDocument();
217 doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Change colour"), OGLEDIT_CHANGE_BACKGROUND_COLOUR, doc,