[BACK]Return to MainFrm.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / engine2000

Diff for /OpenXM_contrib2/windows/engine2000/MainFrm.cpp between version 1.5 and 1.6

version 1.5, 2014/05/13 20:07:23 version 1.6, 2015/08/20 17:47:53
Line 3 
Line 3 
   
 #include "stdafx.h"  #include "stdafx.h"
 #include "ox_plot.h"  #include "ox_plot.h"
   
 #include "MainFrm.h"  #include "MainFrm.h"
   
 #include "gmpxx.h"  
 extern "C" {  extern "C" {
 #include "ca.h"  #include "if_canvas.h"
 #include "ifplot.h"  
 }  }
   
   
 #ifdef _DEBUG  #ifdef _DEBUG
 #define new DEBUG_NEW  #define new DEBUG_NEW
 #undef THIS_FILE  #undef THIS_FILE
Line 163  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
Line 161  void CMainFrame::OnUpdateProgress(CCmdUI *pCmdUI)
         if ( !m_wndView.can )          if ( !m_wndView.can )
                 return;                  return;
   
         mode = m_wndView.can->mode;          if ( canvas_is_ifplot(m_wndView.can) ) {
         if (mode == modeNO(IFPLOT) || mode == modeNO(CONPLOT)) {  
                         pCmdUI->Enable();                          pCmdUI->Enable();
                         strProgress.Format("%s%d%%",m_wndView.can->prefix,m_wndView.can->percentage);                          strProgress.Format("%s%d%%",canvas_prefix(m_wndView.can),canvas_percentage(m_wndView.can));
                         pCmdUI->SetText(strProgress);                          pCmdUI->SetText(strProgress);
         }          }
 }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>