return true;
}
+#if wxUSE_PROLOGIO
bool csDiagramDocument::OnSaveDocument(const wxString& file)
{
if (file == wxEmptyString)
SetFilename(file, true);
Modify(false);
UpdateAllViews();
-
+
return true;
}
+#endif // wxUSE_PROLOGIO
/*
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, false);
m_shapeOnCanvas->Unlink();
-
+
m_doc->GetDiagram()->RemoveShape(m_shapeOnCanvas);
m_savedState = m_shapeOnCanvas;
lineShape->GetFrom()->AddLine(lineShape, lineShape->GetTo(),
lineShape->GetAttachmentFrom(), lineShape->GetAttachmentTo());
-
+
lineShape->Show(true);
wxClientDC dc(lineShape->GetCanvas());
if (isSelected)
m_shapeOnCanvas->Select(true, & dc);
-
+
m_doc->Modify(true);
m_doc->UpdateAllViews();