X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/efba2b89f15ba8757a722fc56c67f434cf960482..4314ec480ecfdd8c0d170e570978d6d2134fc8be:/include/wx/html/htmprint.h diff --git a/include/wx/html/htmprint.h b/include/wx/html/htmprint.h index 6007670406..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); - void OnBeginPrinting(); + bool OnBeginDocument(int startPage, int endPage); private: @@ -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_