X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/280132e34eed4d6be04f1b961bb6c9e844c97f35..10e5b9303b7faa4db7f5c0772c18fe093759f05a:/src/html/htmprint.cpp diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index 4565f6cb85..c8381d4fd4 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -405,7 +405,9 @@ wxHtmlEasyPrinting::wxHtmlEasyPrinting(const wxString& name, wxFrame *parent_fra m_Frame = parent_frame; m_Name = name; m_PrintData = new wxPrintData; +#if (defined __WXGTK__) || (defined __WXMOTIF__) (*m_PrintData) = (*wxThePrintSetupData); +#endif m_PageSetupData = new wxPageSetupDialogData; m_Headers[0] = m_Headers[1] = m_Footers[0] = m_Footers[1] = wxEmptyString;