X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.h;h=9fb14a1bb3dcd8038252cf20b7ffeeadbd277c68;hp=08fd7a8fbce9539016abf7027a9b9b51b6859d73;hb=ebb615bb35cf344a765aa65414982904e59f961b;hpb=ace0b1ec31bdd621f947f8b370079bf7fad57361 diff --git a/src/views.h b/src/views.h index 08fd7a8..9fb14a1 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.10 2000/09/04 09:06:46 kevin Exp $ +** $Id: views.h,v 1.11 2000/12/18 09:31:26 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,6 +67,9 @@ public: void OnProperties (wxCommandEvent& event); void OnScaleAuto (wxCommandEvent& event); void OnScaleMinMax (wxCommandEvent& event); + + wxFrame* getFrame() + { return m_frame; } ImageFileDocument* GetDocument(void) { return dynamic_cast(wxView::GetDocument()); } @@ -124,6 +127,9 @@ public: bool OnClose (bool deleteWindow = true); void OnProperties (wxCommandEvent& event); void OnReconstruct (wxCommandEvent& event); + + wxFrame* getFrame () + { return m_frame; } ProjectionFileDocument* GetDocument(void) { return dynamic_cast(wxView::GetDocument()); }