X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.h;h=a8b3e8c59fd83b63939a55b02b222354c9e63b36;hp=2d2da5e2b2443a881a76c324af9500eaf8b28c15;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=c8b19dfaffba9f06d8b6c40cb1bb83a8964867f7 diff --git a/src/graph3dview.h b/src/graph3dview.h index 2d2da5e..a8b3e8c 100644 --- a/src/graph3dview.h +++ b/src/graph3dview.h @@ -37,14 +37,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 +87,7 @@ private: wxDocChildFrame* CreateChildFrame(wxDocument *doc, wxView *view); #endif - wxWindow* getFrameForChild() + wxWindow* getFrameForChild() #if CTSIM_MDI { return theApp->getMainFrame(); } #else @@ -114,7 +114,7 @@ public: void OnScaleSet (wxCommandEvent& event); void OnScaleAuto (wxCommandEvent& event); void OnScaleFull (wxCommandEvent& event); - + void setInitialClientSize(); #if CTSIM_MDI @@ -123,7 +123,7 @@ public: wxDocChildFrame* getFrame() { return m_pFrame; } #endif Graph3dFileCanvas* getCanvas() { return m_pCanvas; } - Graph3dFileDocument* GetDocument() + Graph3dFileDocument* GetDocument() { return dynamic_cast(wxView::GetDocument()); } };