Document wxPrintData::SetPaperSize().

Also remove strange (probably out of date?) comment from this method in the
header.

Closes #17035.
This commit is contained in:
Vadim Zeitlin
2015-06-21 01:47:01 +02:00
parent f72aa7b1c9
commit 3195a0e538
2 changed files with 11 additions and 2 deletions

View File

@@ -384,9 +384,19 @@ public:
Sets the paper id. This indicates the type of paper to be used. For a
mapping between paper id, paper size and string name, see
wxPrintPaperDatabase in @c "paper.h" (not yet documented).
@see SetPaperSize()
*/
void SetPaperId(wxPaperSize paperId);
/**
Sets custom paper size.
This method can be used to set up custom paper size. When using a
standard size, prefer to use SetPaperId() instead.
*/
void SetPaperSize(const wxSize& size);
/**
Sets the printer name. This can be the empty string to indicate that
the default printer should be used.