projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automated commit for upstream build of version 5.0.4
[ctsim.git]
/
src
/
views.cpp
diff --git
a/src/views.cpp
b/src/views.cpp
index 72ba35a88e8035dff3cb91044566a11ab9224a49..b238a81f9f1e27f7c42eedb33786d1b8903d6a16 100644
(file)
--- a/
src/views.cpp
+++ b/
src/views.cpp
@@
-7,9
+7,7
@@
** Date Started: July 2000
**
** This is part of the CTSim program
** 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
**
** 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*
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();
pCanvas->SetBackgroundColour(*wxWHITE);
pCanvas->ClearBackground();
@@
-3391,7
+3390,8
@@
PlotFileView::CreateCanvas (wxFrame* parent)
{
PlotFileCanvas* pCanvas;
{
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();
pCanvas->SetBackgroundColour(*wxWHITE);
pCanvas->ClearBackground();