X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.cpp;fp=src%2Fgraph3dview.cpp;h=d694b32504af56f429ea2fbe05e214e02a99fe7b;hp=747e983d39a419e20282f0055cdcaad92191a4f9;hb=a15586dedc133281ecca0cc682fe4dd5eb1fceb1;hpb=57e0991108c02e2348e4f71aad440664987a0039 diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index 747e983..d694b32 100644 --- a/src/graph3dview.cpp +++ b/src/graph3dview.cpp @@ -7,9 +7,7 @@ ** Date Started: Jan 2001 ** ** This is part of the CTSim program -** Copyright (c) 1983-2001 Kevin Rosenberg -** -** $Id$ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** 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 @@ -187,7 +185,9 @@ Graph3dFileView::OnCreate (wxDocument *doc, long WXUNUSED(flags) ) Graph3dFileCanvas* Graph3dFileView::CreateCanvas (wxFrame* parent) { - Graph3dFileCanvas* pCanvas = new Graph3dFileCanvas (this, parent, wxPoint(-1,-1), wxSize(-1,-1), 0); + Graph3dFileCanvas* pCanvas = + new Graph3dFileCanvas (this, parent, wxPoint(-1,-1), wxSize(-1,-1), + wxFULL_REPAINT_ON_RESIZE); pCanvas->SetBackgroundColour(*wxWHITE); pCanvas->ClearBackground();