Use full repaint when resizing phantom, plot, 3dviews
[ctsim.git] / src / graph3dview.cpp
index 747e983d39a419e20282f0055cdcaad92191a4f9..d694b32504af56f429ea2fbe05e214e02a99fe7b 100644 (file)
@@ -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();