[ wxwindows-Patches-1519762 ] patches wxMacPrintPreview to display nonprintable area

SourceForge.net noreply at sourceforge.net
Sun Jul 9 21:17:34 PDT 2006


Patches item #1519762, was opened at 2006-07-09 21:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1519762&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build -- Mac
Group: bug fix
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert J. Lang (robertlang)
Assigned to: Nobody/Anonymous (nobody)
Summary: patches wxMacPrintPreview to display nonprintable area

Initial Comment:
At present in wxMac, the print preview image extends to the edges of the 
paper rectangle. It's because the paper rectangle is drawn at the size of 
the printable area, rather than the paper rect. This patches printmac.h/
cpp by overriding virtual method wxMacPrintPreview::DrawBlankPage(...) 
to expand the drawn paper rectangle so that it shows the nonprintable 
area of the paper. The result is that the preview image and the printed 
image now look the same with respect to page margins.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1519762&group_id=9863




More information about the wx-dev mailing list