** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: graph3dview.cpp,v 1.11 2001/02/04 22:58:41 kevin Exp $
+** $Id: graph3dview.cpp,v 1.12 2001/02/08 22:38:23 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
void
Graph3dFileView::OnDraw (wxDC* dc)
{
-#ifndef __WXMOTIF__
- if (! m_pCanvas->GetContext()) return;
-#endif
-
if (! m_pCanvas)
return;
m_pCanvas->SetCurrent();
+
+#ifndef __WXMOTIF__
+ // if (! m_pCanvas->GetContext()) return;
+#endif
+
Draw();
std::ostringstream os;
os << "Xangle=" << m_dXRotate << ", Yangle=" << m_dYRotate << ", Zangle=" << m_dZRotate;