[commit] r1823 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Feb 6 17:28:05 CST 2012
Author: ksmyth
Date: Mon Feb 6 17:28:05 2012
New Revision: 1823
Log:
Fix print bug: not all elements were visible
Modified:
trunk/GME/Gme/GMEView.cpp
Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp Wed Feb 1 17:49:16 2012 (r1822)
+++ trunk/GME/Gme/GMEView.cpp Mon Feb 6 17:28:05 2012 (r1823)
@@ -831,6 +831,11 @@
}
CRect visible;
+ if (pDC->IsPrinting())
+ {
+ visible = CRect(0, 0, INT_MAX, INT_MAX);
+ }
+ else
{
CRect clientRect;
GetClientRect(clientRect);
More information about the gme-commit
mailing list