X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fviews.h;h=f395c94df6cde30da3e1835648dcdae10743542b;hb=91fb88e205c5bc7b771faf601db8489a9278c1ab;hp=6cab7ab8e274d4f3790e0344f8ff27f281ca1592;hpb=dfe03b8fc348b60a8f0b012f3f76c24ad29f21ce;p=ctsim.git diff --git a/src/views.h b/src/views.h index 6cab7ab..f395c94 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.30 2001/01/26 05:37:24 kevin Exp $ +** $Id: views.h,v 1.31 2001/01/26 21:33:06 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 @@ -67,8 +67,8 @@ private: #endif public: - ImageFileView(void); - virtual ~ImageFileView(void); + ImageFileView(); + virtual ~ImageFileView(); void canvasClosed() { m_canvas = NULL; m_frame = NULL; } @@ -128,7 +128,7 @@ public: wxFrame* getFrame() { return m_frame; } - ImageFileDocument* GetDocument(void) + ImageFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } DECLARE_EVENT_TABLE() @@ -201,8 +201,8 @@ private: #endif public: - ProjectionFileView(void); - virtual ~ProjectionFileView(void); + ProjectionFileView(); + virtual ~ProjectionFileView(); void canvasClosed() { m_canvas = NULL; m_frame = NULL; } @@ -220,7 +220,7 @@ public: wxMenu* getFileMenu() { return m_pFileMenu; } - ProjectionFileDocument* GetDocument(void) + ProjectionFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } DECLARE_EVENT_TABLE() }; @@ -276,8 +276,8 @@ private: #endif public: - PhantomFileView(void); - virtual ~PhantomFileView(void); + PhantomFileView(); + virtual ~PhantomFileView(); void canvasClosed() { m_canvas = NULL; m_frame = NULL; } @@ -289,7 +289,7 @@ public: void OnRasterize (wxCommandEvent& event); void OnProjections (wxCommandEvent& event); - PhantomFileDocument* GetDocument(void) + PhantomFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } wxMenu* getFileMenu() { return m_pFileMenu; } @@ -338,8 +338,8 @@ private: #endif public: - PlotFileView(void); - virtual ~PlotFileView(void); + PlotFileView(); + virtual ~PlotFileView(); void canvasClosed() { m_canvas = NULL; m_frame = NULL; } @@ -357,7 +357,7 @@ public: { return m_frame; } wxMenu* getFileMenu() { return m_pFileMenu; } - PlotFileDocument* GetDocument(void) + PlotFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } DECLARE_EVENT_TABLE()