X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fgraph3dview.h;h=2d2da5e2b2443a881a76c324af9500eaf8b28c15;hb=b3db4c787d9180525a56306d8e91553d81def8b8;hp=ec53d03a469e81f5f7c8d987fff736362efc15d3;hpb=2093dcb9760e9261299ebbab4f8ff203e4d9af77;p=ctsim.git diff --git a/src/graph3dview.h b/src/graph3dview.h index ec53d03..2d2da5e 100644 --- a/src/graph3dview.h +++ b/src/graph3dview.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: graph3dview.h,v 1.11 2002/06/03 16:57:22 kevin Exp $ +** $Id$ ** ** 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 @@ -115,6 +115,8 @@ public: void OnScaleAuto (wxCommandEvent& event); void OnScaleFull (wxCommandEvent& event); + void setInitialClientSize(); + #if CTSIM_MDI wxDocMDIChildFrame* getFrame() { return m_pFrame; } #else @@ -139,7 +141,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0); virtual ~Graph3dFileCanvas(); - virtual void OnDraw(wxDC& dc); + void OnPaint(wxPaintEvent& event); virtual wxSize GetBestSize() const; void OnSize(wxSizeEvent& event); void OnEraseBackground(wxEraseEvent& event);