r7061: initial property settings
[ctsim.git] / src / threadraster.h
index b161c03abb84dfe57279e279af6e8f932e424eb7..58074f0fadea9e80459a8302ec6838ac3000b88f 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: threadraster.h,v 1.1 2001/02/27 03:59:30 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,6 +28,8 @@
 #ifndef _THREADRASTER_H
 #define _THREADRASTER_H
 
+#ifdef HAVE_WXTHREADS
+
 #include <vector>
 #include <wx/thread.h>
 #include <wx/progdlg.h>
@@ -54,7 +56,6 @@ public:
   RasterizerSupervisorThread(PhantomFileView* pProjView, int iNX, int iNY, int iNSample, double dViewRatio, const char* const pszLabel);
 
   virtual wxThread::ExitCode Entry();
-
   virtual void OnExit();
 };
 
@@ -63,9 +64,9 @@ public:
 class RasterizerSupervisor : public BackgroundSupervisor {
 private:
 
+  PhantomFileView* m_pPhantomView;
   std::vector<ImageFile*> m_vecpChildImageFiles;
   PhantomFileDocument* m_pPhantomDoc;
-  PhantomFileView* m_pPhantomView;
   
   const int m_iNX;
   const int m_iNY;
@@ -114,6 +115,6 @@ public:
   virtual void OnExit();
 };
 
-
-#endif
+#endif // HAVE_WXTHREADS
+#endif // _THREADRASTER_H_