]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextprint.h
apply complete transforms (scroll window PrepareDC was not functioning properly)
[wxWidgets.git] / include / wx / richtext / richtextprint.h
index 69d1a43e2e28bd17773082f55c8b0141c85cc009..4a45c4e343ec0fc9f077a0b6083e25785de460e6 100644 (file)
@@ -26,7 +26,7 @@
 enum wxRichTextOddEvenPage {
     wxRICHTEXT_PAGE_ODD,
     wxRICHTEXT_PAGE_EVEN,
-    wxRICHTEXT_PAGE_ALL,
+    wxRICHTEXT_PAGE_ALL
 };
 
 // Header/footer text locations
@@ -187,7 +187,7 @@ public:
     wxString GetFooterText(wxRichTextOddEvenPage page = wxRICHTEXT_PAGE_EVEN, wxRichTextPageLocation location = wxRICHTEXT_PAGE_CENTRE) const;
 
     /// Show header/footer on first page, or not
-    bool SetShowOnFirstPage(bool show) { m_headerFooterData.SetShowOnFirstPage(show); }
+    void SetShowOnFirstPage(bool show) { m_headerFooterData.SetShowOnFirstPage(show); }
 
     /// Get print and page setup data
     wxPrintData *GetPrintData();