Improve wxFont usage
[ctsim.git] / src / dlgprojections.cpp
index 9921cbe1804bd380cd831aab0f23341e292e8992..3c5854e6ff683ee16e1b5d6094164abdc1cac270 100644 (file)
@@ -7,9 +7,7 @@
  **   Date Started:  August 2000
  **
  **  This is part of the CTSim program
- **  Copyright (c) 1983-2001 Kevin Rosenberg
- **
- **  $Id$
+ **  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
@@ -58,7 +56,7 @@ BEGIN_EVENT_TABLE(ProjectionsDialog, wxDialog)
   IMPLEMENT_CLASS(ProjectionsDialog, wxDialog)
 
 
-  ProjectionsDialog::ProjectionsDialog (Scanner& rScanner, Projections& rProj, const Phantom& rPhantom, const int iTrace, wxWindow *parent)
+ProjectionsDialog::ProjectionsDialog (Scanner& rScanner, Projections& rProj, const Phantom& rPhantom, const int iTrace, wxWindow *parent)
 : wxDialog(parent, -1, _T("Collect Projections"), wxDefaultPosition), m_rScanner(rScanner), m_rProjections(rProj), m_rPhantom(rPhantom),
       m_pSGPDriver(NULL), m_pSGP(NULL), m_iTrace(iTrace), m_pDC(NULL), m_btnAbort(0), m_btnPause(0), m_btnStep(0)
 {
@@ -127,9 +125,9 @@ BEGIN_EVENT_TABLE(ProjectionsDialog, wxDialog)
 
   wxYield();     // Update the display
 
-  m_pSGP->setTextPointSize(10);
+  m_pSGP->setTextPointSize(7);
 #ifdef __WXMAC__
-  MacUpdateImmediately();
+  //  MacUpdateImmediately();
 #endif
 }
 
@@ -195,7 +193,7 @@ ProjectionsDialog::projectView (int iViewNumber)
   }
 
 #ifdef __WXMAC__
-  MacUpdateImmediately();
+  //  MacUpdateImmediately();
 #endif
 
   return m_state != Cancelled;
@@ -298,4 +296,3 @@ ProjectionsDialog::~ProjectionsDialog()
   delete m_pSGPDriver;
   delete m_pDC;
 }
-