X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ce369e6876c49ad7a101ad222048bd5446b7125..e6ec579c77012dd0ff1e16b2385e2d3ccf1b911b:/include/wx/html/htmprint.h?ds=sidebyside diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index c35df126ec..e7d6dc59e8 100644 --- a/include/wx/html/htmprint.h +++ b/include/wx/html/htmprint.h @@ -17,7 +17,7 @@ #include -#if wxUSE_PRINTING_ARCHITECTURE +#if wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE #include "wx/html/htmlcell.h" #include "wx/html/winpars.h" @@ -25,15 +25,13 @@ #include "wx/print.h" #include "wx/printdlg.h" - //-------------------------------------------------------------------------------- // wxHtmlDCRenderer // This class is capable of rendering HTML into specified // portion of DC //-------------------------------------------------------------------------------- - -class wxHtmlDCRenderer : public wxObject +class WXDLLEXPORT wxHtmlDCRenderer : public wxObject { public: wxHtmlDCRenderer(); @@ -103,7 +101,7 @@ enum { //-------------------------------------------------------------------------------- -class wxHtmlPrintout : public wxPrintout +class WXDLLEXPORT wxHtmlPrintout : public wxPrintout { public: wxHtmlPrintout(const wxString& title = "Printout"); @@ -140,7 +138,7 @@ class wxHtmlPrintout : public wxPrintout bool OnPrintPage(int page); bool HasPage(int page); void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo); - bool OnBeginDocument(int start, int end); + bool OnBeginDocument(int startPage, int endPage); private: @@ -154,7 +152,7 @@ class wxHtmlPrintout : public wxPrintout private: int m_NumPages; - int m_PageBreaks[HTML_PRINT_MAX_PAGES]; + int m_PageBreaks[wxHTML_PRINT_MAX_PAGES]; wxString m_Document, m_BasePath; bool m_BasePathIsDir; @@ -181,7 +179,7 @@ class wxHtmlPrintout : public wxPrintout // stores page&printer settings in it. //-------------------------------------------------------------------------------- -class wxHtmlEasyPrinting : public wxObject +class WXDLLEXPORT wxHtmlEasyPrinting : public wxObject { public: @@ -233,7 +231,7 @@ class wxHtmlEasyPrinting : public wxObject -#endif // wxUSE_PRINTING_ARCHITECTURE +#endif // wxUSE_HTML & wxUSE_PRINTING_ARCHITECTURE #endif // _WX_HTMPRINT_H_