projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add wxImage::Clear (patch by troelsk); closes #10141
[wxWidgets.git]
/
interface
/
wx
/
richtext
/
richtextprint.h
diff --git
a/interface/wx/richtext/richtextprint.h
b/interface/wx/richtext/richtextprint.h
index d3a0208ff768a068de5e04f9c9d1224336fd356d..ae7417c1219ee9b6bc28e4bad7ee3ce2df5ee1a0 100644
(file)
--- a/
interface/wx/richtext/richtextprint.h
+++ b/
interface/wx/richtext/richtextprint.h
@@
-120,7
+120,7
@@
public:
/**
Returns the text colour for drawing the header and footer.
*/
/**
Returns the text colour for drawing the header and footer.
*/
- const wxColour GetTextColour() const;
+ const wxColour
&
GetTextColour() const;
/**
Initialises the object.
/**
Initialises the object.
@@
-206,13
+206,13
@@
public:
/**
Returns the header and footer data associated with the printout.
*/
/**
Returns the header and footer data associated with the printout.
*/
- const wxRichTextHeaderFooterData GetHeaderFooterData() const;
+ const wxRichTextHeaderFooterData
&
GetHeaderFooterData() const;
/**
Gets the page information.
*/
/**
Gets the page information.
*/
- void GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
- int* selPageTo);
+ v
irtual v
oid GetPageInfo(int* minPage, int* maxPage, int* selPageFrom,
+
int* selPageTo);
/**
Returns a pointer to the buffer being rendered.
/**
Returns a pointer to the buffer being rendered.
@@
-242,8
+242,8
@@
public:
/**
Sets margins in 10ths of millimetre. Defaults to 1 inch for margins.
*/
/**
Sets margins in 10ths of millimetre. Defaults to 1 inch for margins.
*/
- void SetMargins(int top = 25
2, int bottom = 252, int left = 252
,
- int right = 25
2
);
+ void SetMargins(int top = 25
4, int bottom = 254, int left = 254
,
+ int right = 25
4
);
/**
Sets the buffer to print. wxRichTextPrintout does not manage this pointer;
/**
Sets the buffer to print. wxRichTextPrintout does not manage this pointer;
@@
-285,7
+285,7
@@
public:
/**
Returns the internal wxRichTextHeaderFooterData object.
*/
/**
Returns the internal wxRichTextHeaderFooterData object.
*/
- const wxRichTextHeaderFooterData GetHeaderFooterData() const;
+ const wxRichTextHeaderFooterData
&
GetHeaderFooterData() const;
/**
A convenience function to get the header text.
/**
A convenience function to get the header text.
@@
-308,7
+308,7
@@
public:
/**
Returns the dimensions to be used for the preview window.
*/
/**
Returns the dimensions to be used for the preview window.
*/
- const wxRect GetPreviewRect() const;
+ const wxRect
&
GetPreviewRect() const;
/**
Returns a pointer to the internal print data.
/**
Returns a pointer to the internal print data.
@@
-318,7
+318,7
@@
public:
/**
Returns the title of the preview window or printing wait caption.
*/
/**
Returns the title of the preview window or printing wait caption.
*/
- const wxString GetTitle() const;
+ const wxString
&
GetTitle() const;
/**
Shows the page setup dialog.
/**
Shows the page setup dialog.
@@
-384,7
+384,7
@@
public:
/**
Sets the page setup data.
*/
/**
Sets the page setup data.
*/
- void SetPageSetupData(const wxPageSetupData& pageSetupData);
+ void SetPageSetupData(const wxPageSetupD
ialogD
ata& pageSetupData);
/**
Sets the parent window to be used for the preview window and printing
/**
Sets the parent window to be used for the preview window and printing