r3877: Auto commit for Debian build
[ctsim.git] / src / graph3dview.cpp
index 7d08275fb45e47a1775c98e7181bfce6cfc5ebfd..01e17bb843c966c5e02ed14932ff575d2e4e7d6c 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: graph3dview.cpp,v 1.29 2002/06/27 03:19:23 kevin Exp $
+**  $Id: graph3dview.cpp,v 1.32 2003/01/23 23:35:58 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
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ******************************************************************************/
 
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-
 #include "wx/wxprec.h"
 
 #ifndef WX_PRECOMP
@@ -806,9 +801,10 @@ Graph3dFileView::CreateChildFrame (wxDocument *doc, wxView *view)
 
 
 
+
 BEGIN_EVENT_TABLE(Graph3dFileCanvas, wxGLCanvas)
+EVT_PAINT(Graph3dFileCanvas::OnDraw)
 EVT_SIZE(Graph3dFileCanvas::OnSize)
-EVT_PAINT(Graph3dFileCanvas::OnPaint)
 EVT_CHAR(Graph3dFileCanvas::OnChar)
 EVT_MOUSE_EVENTS(Graph3dFileCanvas::OnMouseEvent)
 EVT_ERASE_BACKGROUND(Graph3dFileCanvas::OnEraseBackground)