X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fgraph3dview.cpp;h=eb5cbf4a8afd8a72dfa5c9c989e3e158b7fae250;hb=103b084776d861a93e851ebff9c72798019b7561;hp=a29089a7162daf5f4ac3cbdc8807cd56d9d8a743;hpb=c81a502b726ff9f61d9661979cef0a5d5efadb22;p=ctsim.git diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index a29089a..eb5cbf4 100644 --- a/src/graph3dview.cpp +++ b/src/graph3dview.cpp @@ -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