X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.h;h=eeade71763c32e72796c12f12ece2ac9ef958745;hp=2d2da5e2b2443a881a76c324af9500eaf8b28c15;hb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;hpb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac diff --git a/src/graph3dview.h b/src/graph3dview.h index 2d2da5e..eeade71 100644 --- a/src/graph3dview.h +++ b/src/graph3dview.h @@ -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 @@ -37,14 +35,14 @@ class Graph3dFileCanvas; -class Graph3dFileView : public wxView +class Graph3dFileView : public wxView { friend class Graph3dFileCanvas; private: - DECLARE_DYNAMIC_CLASS(Graph3dFileView) + DECLARE_DYNAMIC_CLASS(Graph3dFileView) DECLARE_EVENT_TABLE() - + wxMenu* m_pFileMenu; wxMenu *m_pViewMenu; wxStatusBar* m_pStatusBar; @@ -87,7 +85,7 @@ private: wxDocChildFrame* CreateChildFrame(wxDocument *doc, wxView *view); #endif - wxWindow* getFrameForChild() + wxWindow* getFrameForChild() #if CTSIM_MDI { return theApp->getMainFrame(); } #else @@ -114,7 +112,7 @@ public: void OnScaleSet (wxCommandEvent& event); void OnScaleAuto (wxCommandEvent& event); void OnScaleFull (wxCommandEvent& event); - + void setInitialClientSize(); #if CTSIM_MDI @@ -123,7 +121,7 @@ public: wxDocChildFrame* getFrame() { return m_pFrame; } #endif Graph3dFileCanvas* getCanvas() { return m_pCanvas; } - Graph3dFileDocument* GetDocument() + Graph3dFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } };