X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09a728e15eaf4fea92983a92aaee718c6fdebbd4..cde80c9284b64d611e8cf4a7565de40aa0acce81:/interface/print.h diff --git a/interface/print.h b/interface/print.h index e96d9bf9a0..8ad4c4512b 100644 --- a/interface/print.h +++ b/interface/print.h @@ -199,6 +199,15 @@ public: the preview frame. Unlike wxPrinter::Print(), flow of control returns to the application immediately after the frame is shown. + @note + The preview shown is only exact on Windows. On other platforms, the wxDC + used for preview is different from what is used for printing and the + results may be significantly different, depending on how is the output + created. In particular, printing code relying on wxDC::GetTextExtent() + heavily (for example, wxHtmlEasyPrinting and other wxHTML classes do) is + affected. It is recommended to use native preview functionality on + platforms that offer it (OS X, GTK+). + @library{wxbase} @category{printing} @@ -609,8 +618,8 @@ public: By default this returns (1, 32000) for the page minimum and maximum values, and (1, 1) for the required page range. - If @a minPage is zero, the page number controls in the print dialog will be - disabled. + @a minPage must be greater than zero and @a maxPage must be greater + than @a minPage. @beginWxPythonOnly When this method is implemented in a derived Python class, it should be designed