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; }
|
bool GetColour() const { return m_colour; }
|
||||||
wxDuplexMode GetDuplex() const { return m_duplexMode; }
|
wxDuplexMode GetDuplex() const { return m_duplexMode; }
|
||||||
wxPaperSize GetPaperId() const { return m_paperId; }
|
wxPaperSize GetPaperId() const { return m_paperId; }
|
||||||
const wxSize& GetPaperSize() const { return m_paperSize; } // Not used yet: confusable with paper size
|
const wxSize& GetPaperSize() const { return m_paperSize; }
|
||||||
// in wxPageSetupDialogData
|
|
||||||
wxPrintQuality GetQuality() const { return m_printQuality; }
|
wxPrintQuality GetQuality() const { return m_printQuality; }
|
||||||
wxPrintBin GetBin() const { return m_bin; }
|
wxPrintBin GetBin() const { return m_bin; }
|
||||||
wxPrintMode GetPrintMode() const { return m_printMode; }
|
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
|
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
|
mapping between paper id, paper size and string name, see
|
||||||
wxPrintPaperDatabase in @c "paper.h" (not yet documented).
|
wxPrintPaperDatabase in @c "paper.h" (not yet documented).
|
||||||
|
|
||||||
|
@see SetPaperSize()
|
||||||
*/
|
*/
|
||||||
void SetPaperId(wxPaperSize paperId);
|
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
|
Sets the printer name. This can be the empty string to indicate that
|
||||||
the default printer should be used.
|
the default printer should be used.
|
||||||
|
Reference in New Issue
Block a user