Document wxPrintData::SetPaperSize().
Also remove strange (probably out of date?) comment from this method in the header. Closes #17035.
This commit is contained in:
@@ -71,8 +71,7 @@ public:
|
||||
bool GetColour() const { return m_colour; }
|
||||
wxDuplexMode GetDuplex() const { return m_duplexMode; }
|
||||
wxPaperSize GetPaperId() const { return m_paperId; }
|
||||
const wxSize& GetPaperSize() const { return m_paperSize; } // Not used yet: confusable with paper size
|
||||
// in wxPageSetupDialogData
|
||||
const wxSize& GetPaperSize() const { return m_paperSize; }
|
||||
wxPrintQuality GetQuality() const { return m_printQuality; }
|
||||
wxPrintBin GetBin() const { return m_bin; }
|
||||
wxPrintMode GetPrintMode() const { return m_printMode; }
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user