r475: no message
[ctsim.git] / src / graph3dview.cpp
index a29089a7162daf5f4ac3cbdc8807cd56d9d8a743..eb5cbf4a8afd8a72dfa5c9c989e3e158b7fae250 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: graph3dview.cpp,v 1.3 2001/01/30 13:47:46 kevin Exp $
+**  $Id: graph3dview.cpp,v 1.4 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
@@ -25,7 +25,6 @@
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ******************************************************************************/
 
-
 #ifdef __GNUG__
 #pragma implementation
 #pragma interface
@@ -42,6 +41,8 @@
 #include "wx/wx.h"
 #endif
 
+#if wxUSE_GLCANVAS
+
 #if !wxUSE_GLCANVAS
 #error Please set wxUSE_GLCANVAS to 1 in setup.h.
 #endif
@@ -620,3 +621,4 @@ Graph3dFileCanvas::OnEraseBackground(wxEraseEvent& event)
 
 
 
+#endif // wxUSE_GLCANVAS