diff --git a/docs/latex/wx/print.tex b/docs/latex/wx/print.tex index 50406337c1..19a28b38d6 100644 --- a/docs/latex/wx/print.tex +++ b/docs/latex/wx/print.tex @@ -907,9 +907,14 @@ is called once for every print job (regardless of how many copies are being prin \func{void}{OnPreparePrinting}{\void} -Called once by the framework before any other demands are made of the -wxPrintout object. This gives the object an opportunity to calculate the -number of pages in the document, for example. +Called once by the framework to allow the application to perform general +preparation tasks. + +In wxWindows 2.4, this function is called {\it after} GetPageInfo is called, +which is not ideal. In wxWindows 2.5, the function is correctly called +before GetPageInfo is called. Please see Patch 781346 on SourceForge +for a backport of this fix. Unfortunately we cannot apply it to 2.4, +for binary compatibility reasons. \membersection{wxPrintout::OnPrintPage}\label{wxprintoutonprintpage}