X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgraph3dview.cpp;h=9c9b8fa699411e71228a3d6ad68c90d40d69a2dd;hb=92b40e557630881d08f67e2498b3e062ab8ec8ec;hp=7d08275fb45e47a1775c98e7181bfce6cfc5ebfd;hpb=ab78de6e33fff94c37847621458db3ad430a8bb3;p=ctsim.git diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index 7d08275..9c9b8fa 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.31 2002/10/24 21:05:28 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 @@ -806,9 +806,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)