X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=43751338e6ea68c031241c70d379154c114335ee;hb=861c2186ce387ce809882315a8f26d640f1844fc;hp=96de20e311782c07788cb5272bd78c43bcfbaba4;hpb=4b18b0a7fed4e25130c6edf7929d0df50b8c24ea;p=ctsim.git diff --git a/src/views.h b/src/views.h index 96de20e..4375133 100644 --- a/src/views.h +++ b/src/views.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.h,v 1.3 2000/07/18 03:14:35 kevin Exp $ +** $Id: views.h,v 1.5 2000/07/18 16:20:53 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 @@ -57,7 +57,7 @@ private: public: ImageFileView(void); - ~ImageFileView(void); + virtual ~ImageFileView(void); bool OnCreate(wxDocument *doc, long flags); void OnDraw(wxDC* dc); @@ -103,7 +103,7 @@ private: public: ProjectionFileView(void); - ~ProjectionFileView(void); + virtual ~ProjectionFileView(void); bool OnCreate(wxDocument *doc, long flags); void OnDraw(wxDC* dc); @@ -141,7 +141,7 @@ private: public: PhantomView(void); - ~PhantomView(void); + virtual ~PhantomView(void); bool OnCreate(wxDocument *doc, long flags); void OnDraw(wxDC* dc); @@ -157,7 +157,7 @@ public: DECLARE_EVENT_TABLE() }; -class PhantomCanvas: public wxScrolledWindow +class PhantomCanvas: public wxPanel { public: PhantomView* m_pView;