]> git.saurik.com Git - wxWidgets.git/commitdiff
slight warnings in wxprinterdc docs about constructor confusion - see http://www...
authorRyan Norton <wxprojects@comcast.net>
Sat, 12 Feb 2005 20:00:13 +0000 (20:00 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sat, 12 Feb 2005 20:00:13 +0000 (20:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/print.tex

index de8c3d6614da3819006b53779df29fc83f4ae8b2..5eb1c74ab6675199be58694120b29bd84afe8fc1 100644 (file)
@@ -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}}