From 05db64b2e987e6c6920f00610b2aa9ad25fb2c64 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sat, 12 Feb 2005 20:00:13 +0000 Subject: [PATCH] slight warnings in wxprinterdc docs about constructor confusion - see http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=1247 for more git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/print.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/print.tex b/docs/latex/wx/print.tex index de8c3d6614..5eb1c74ab6 100644 --- a/docs/latex/wx/print.tex +++ b/docs/latex/wx/print.tex @@ -804,7 +804,10 @@ achieving the correct scaling for the page. Pass a \helpref{wxPrintData}{wxprintdata} object with information necessary for setting up a suitable printer device context. This -is the recommended way to construct a wxPrinterDC. +is the recommended way to construct a wxPrinterDC. Make sure you +specify a reference to a \helpref{wxPrintData}{wxprintdata} object, +not a pointer - you may not even get a warning if you pass a pointer +instead. \func{}{wxPrinterDC}{\param{const wxString\& }{driver}, \param{const wxString\& }{device}, \param{const wxString\& }{output}, \param{const bool }{interactive = true}, \param{int }{orientation = wxPORTRAIT}}