X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.cpp;h=b238a81f9f1e27f7c42eedb33786d1b8903d6a16;hb=678ef6d2fb09f2f5ef8bc2d68f75cafa21859465;hp=72ba35a88e8035dff3cb91044566a11ab9224a49;hpb=f7ee98f7d964ed361068179f0e7ea4475ed1abdf;p=ctsim.git diff --git a/src/views.cpp b/src/views.cpp index 72ba35a..b238a81 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -7,9 +7,7 @@ ** Date Started: July 2000 ** ** 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 @@ -2309,8 +2307,9 @@ PhantomFileView::OnRasterize (wxCommandEvent& event) PhantomCanvas* PhantomFileView::CreateCanvas (wxFrame *parent) { - PhantomCanvas* pCanvas = new PhantomCanvas (this, parent, wxPoint(-1,-1), - wxSize(-1,-1), 0); + PhantomCanvas* pCanvas = + new PhantomCanvas (this, parent, wxPoint(-1,-1), + wxSize(-1,-1), wxFULL_REPAINT_ON_RESIZE); pCanvas->SetBackgroundColour(*wxWHITE); pCanvas->ClearBackground(); @@ -3391,7 +3390,8 @@ PlotFileView::CreateCanvas (wxFrame* parent) { PlotFileCanvas* pCanvas; - pCanvas = new PlotFileCanvas (this, parent, wxPoint(-1,-1), wxSize(-1,-1), 0); + pCanvas = new PlotFileCanvas (this, parent, wxPoint(-1,-1), wxSize(-1,-1), + wxFULL_REPAINT_ON_RESIZE); pCanvas->SetBackgroundColour(*wxWHITE); pCanvas->ClearBackground();