X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.h;h=d2dd6a4565f1b300d72c5d1d209f1ea40afaa21c;hp=ec53d03a469e81f5f7c8d987fff736362efc15d3;hb=06066d9192936b4c4cc69847cd4c1f5aa7017829;hpb=77b54dcec77e80f1d8a6d32fd9320579b64f5f4d diff --git a/src/graph3dview.h b/src/graph3dview.h index ec53d03..d2dd6a4 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: graph3dview.h,v 1.12 2003/01/30 21:53:16 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 @@ -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);