r475: no message
[ctsim.git] / src / docs.cpp
index 59371ab10fd589eb751a63fedf19e43c2f91494e..f82fc6061da92d1f9df042bf48169841ae992236 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: docs.cpp,v 1.20 2001/01/30 10:58:13 kevin Exp $
+**  $Id: docs.cpp,v 1.21 2001/01/31 01:01:22 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
@@ -371,6 +371,8 @@ TextFileDocument::getTextCtrl()
 //
 //////////////////////////////////////////////////////////////////////////
 
+#if wxUSE_GLCANVAS
+
 IMPLEMENT_DYNAMIC_CLASS(Graph3dFileDocument, wxDocument)
 
 Graph3dFileDocument::Graph3dFileDocument(void) 
@@ -443,3 +445,5 @@ Graph3dFileDocument::createFromImageFile (const ImageFile& rImageFile)
 #endif
   return true;
 }
+
+#endif // wxUSE_GLCANVAS
\ No newline at end of file