Add wxHtmlPrintout::SetMargins(wxPageSetupDialogData) overload
Make it simpler to set the user-configured margins. Closes #16872.
This commit is contained in:
committed by
Vadim Zeitlin
parent
10a2049093
commit
c9a3a23e5a
@@ -156,9 +156,11 @@ public:
|
||||
|
||||
void SetMargins(float top = 25.2f, float bottom = 25.2f, float left = 25.2f, float right = 25.2f,
|
||||
float spaces = 5);
|
||||
// sets margins in milimeters. Defaults to 1 inch for margins and 0.5cm for space
|
||||
// sets margins in millimeters. Defaults to 1 inch for margins and 0.5cm for space
|
||||
// between text and header and/or footer
|
||||
|
||||
void SetMargins(const wxPageSetupDialogData& pageSetupData);
|
||||
|
||||
// wxPrintout stuff:
|
||||
bool OnPrintPage(int page) wxOVERRIDE;
|
||||
bool HasPage(int page) wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user