X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgprojections.h;h=743db15d39d585f1ecf2ef04999b26fd19f4fa2b;hp=d39260a0fbb4040f32f0ce0c56c5bfac22063076;hb=1a050c98763fbbc0662731b0b76953acede6f5d7;hpb=c149735f56364c224ec6847d0f32ba06af86dc5b diff --git a/src/dlgprojections.h b/src/dlgprojections.h index d39260a..743db15 100644 --- a/src/dlgprojections.h +++ b/src/dlgprojections.h @@ -7,9 +7,9 @@ ** Date Started: August 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: dlgprojections.h,v 1.3 2000/09/02 16:40:36 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 @@ -28,10 +28,6 @@ #ifndef __DLGPROJECTIONS_H_ #define __DLGPROJECTIONS_H_ -#ifdef __GNUG__ -#pragma interface "dlgprojections.h" -#endif - #include "wx/setup.h" #include "wx/dialog.h" #include "wx/dcmemory.h" @@ -42,7 +38,6 @@ class Projections; class Phantom; class SGP; class Scanner; -class SGP; class SGPDriver; class ProjectionsDialog : public wxDialog @@ -95,7 +90,7 @@ private: wxDC* m_pDC; wxButton *m_btnAbort; // the abort button (or NULL if none) - wxButton *m_btnPause; + wxButton *m_btnPause; wxButton *m_btnStep; wxMemoryDC m_memoryDC; // for restoring image on OnPaint @@ -111,8 +106,7 @@ private: Finished // finished, waiting to be removed from screen } m_state; - const static int ID_BTN_PAUSE = 19996; - const static int ID_BTN_STEP = 19997; + enum { ID_BTN_PAUSE = 19996, ID_BTN_STEP = 19997 }; void showView (int iViewNumber);