Lines Matching defs:doc
28 #include "doc.h"
43 bool DrawingView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
45 frame = wxGetApp().CreateChildFrame(doc, this, true);
127 DrawingDocument *doc = (DrawingDocument *)GetDocument();
128 doc->GetCommandProcessor()->Submit(new DrawingCommand(_T("Cut Last Segment"), DOODLE_CUT, doc, (DoodleSegment *) NULL));
133 bool TextEditView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
135 frame = wxGetApp().CreateChildFrame(doc, this, false);
227 DrawingDocument *doc = (DrawingDocument *)view->GetDocument();
229 doc->GetCommandProcessor()->Submit(new DrawingCommand(_T("Add Segment"), DOODLE_ADD, doc, currentSegment));