X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fgraph3dview.cpp;h=01e17bb843c966c5e02ed14932ff575d2e4e7d6c;hb=a00e02e9fc9fbf1fe0309d0c8955feb10d389823;hp=7d08275fb45e47a1775c98e7181bfce6cfc5ebfd;hpb=ab78de6e33fff94c37847621458db3ad430a8bb3;p=ctsim.git diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index 7d08275..01e17bb 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.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 @@ -25,11 +25,6 @@ ** 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)