[GME-commit] GMESRC/GME/Gme PannButton.cpp,1.9,1.10

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Jul 19 19:27:11 CDT 2005


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv31127

Modified Files:
	PannButton.cpp 
Log Message:
If workstation locked, and then unlocked, StretchBlt fails sometimes.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: PannButton.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/PannButton.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PannButton.cpp	3 Jun 2004 19:14:48 -0000	1.9
--- PannButton.cpp	19 Jul 2005 18:27:09 -0000	1.10
***************
*** 177,180 ****
--- 177,183 ----
  	BOOL ret = dc.StretchBlt(0, 0, m_bitmapOnScreen.Width(), m_bitmapOnScreen.Height(), m_bitmapDC, 
  							 0, 0, m_bitmapSizeStored.Width(), m_bitmapSizeStored.Height(), SRCCOPY);
+ 	if( !ret)
+ 		return;
+ 
  	ASSERT(ret);
  	CBrush brush1;



More information about the GME-commit mailing list