r632: Added Clipboard functions to image files
[ctsim.git] / src / docs.cpp
index bd4e404416579ccc1cf924b4d3150ca16b8f6979..aa70dbfb4bb72c563fd38cdb5019ff8e0f557857 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: docs.cpp,v 1.33 2001/03/05 17:26:46 kevin Exp $
+**  $Id: docs.cpp,v 1.34 2001/03/11 17:55:29 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -104,6 +104,13 @@ ImageFileDocument::getView() const
   return dynamic_cast<ImageFileView*>(GetFirstView()); 
 }
 
+void
+ImageFileDocument::Activate()
+{
+#if CTSIM_MDI
+  getView()->getFrame()->Activate();
+#endif
+};
 
 bool
 ImageFileDocument::Revert ()