X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgprojections.h;h=df78d3676aebc03c9250a6266acb3e914f4e26c6;hp=d39260a0fbb4040f32f0ce0c56c5bfac22063076;hb=f13a8c004b8f182b42d9e4df2bcd7c7f030bf1ad;hpb=c149735f56364c224ec6847d0f32ba06af86dc5b diff --git a/src/dlgprojections.h b/src/dlgprojections.h index d39260a..df78d36 100644 --- a/src/dlgprojections.h +++ b/src/dlgprojections.h @@ -7,9 +7,7 @@ ** Date Started: August 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg -** -** $Id: dlgprojections.h,v 1.3 2000/09/02 16:40:36 kevin Exp $ +** 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 @@ -28,10 +26,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 +36,6 @@ class Projections; class Phantom; class SGP; class Scanner; -class SGP; class SGPDriver; class ProjectionsDialog : public wxDialog @@ -95,7 +88,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 +104,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);